Closed
Description
The test compile-fail/E0389.rs gives the error message "cannot assign to immutable item fancy_ref.num
". This is not particularly good because:
(a) "item" is probably not a very clear term for end-users but also
(b) even if it were, I would expect it to refer to "global things" like functions or statics, not fields of a local variable.