Skip to content

Compiler error messages: reduce assertiveness of message E0384 #2695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Compiler error messages: reduce assertiveness of message E0384 #2695

wants to merge 1 commit into from

Conversation

jayaddison
Copy link

This message is emitted as guidance by the compiler when a developer attempts to reassign a value to an immutable variable. Following the message will always currently work, but it may not always be the best course of action; following the 'consider ...' messaging pattern provides a hint to the developer that it could be wise to explore other alternatives.

Relates to rust-lang/rust#84144

This message is emitted as guidance by the compiler when a developer attempts to reassign a value to an immutable variable.  Following the message will always currently work, but it may not always be the best course of action; following the 'consider ...' messaging pattern provides a hint to the developer that it could be wise to explore other alternatives.
@steveklabnik
Copy link
Member

We track this when we update the version of Rust; if this change ever makes it upstream, and we update the book to be for that version of the compiler, we'll update this message. Thanks though!

@jayaddison jayaddison deleted the compiler/E0384-reduce-assertiveness branch April 14, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants