-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add long error explanation for E0594 #66155
Add long error explanation for E0594 #66155
Conversation
Some changes occurred in diagnostic error codes |
src/librustc_mir/error_codes.rs
Outdated
ss.earth = 2; // error! | ||
``` | ||
|
||
To fix this error, just declare `ss` as mutable by using the `mut` keyword: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To fix this error, just declare `ss` as mutable by using the `mut` keyword: | |
To fix this error, declare `ss` as mutable by using the `mut` keyword: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll update once the error codes have been moved.
☔ The latest upstream changes (presumably #66314) made this pull request unmergeable. Please resolve the merge conflicts. |
046d4b8
to
fae8480
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
fae8480
to
c981c99
Compare
And the ferris wheel continues to roll 🎡 @bors r+ rollup |
📌 Commit c981c99 has been approved by |
…-E0594, r=Dylan-DPC Add long error explanation for E0594 Part of rust-lang#61137. r? @Dylan-DPC
Rollup of 11 pull requests Successful merges: - #66090 (Misc CI improvements) - #66155 (Add long error explanation for E0594) - #66239 (Suggest calling async closure when needed) - #66430 ([doc] Fix the source code highlighting on source comments) - #66431 (Fix 'type annotations needed' error with opaque types) - #66461 (Add explanation message for E0641) - #66493 (Add JohnTitor to rustc-guide toolstate notification list) - #66511 (std::error::Chain: remove Copy) - #66529 (resolve: Give derive helpers highest priority during resolution) - #66536 (Move the definition of `QueryResult` into `plumbing.rs`.) - #66538 (Remove compiler_builtins_lib feature from libstd) Failed merges: r? @ghost
Part of #61137.
r? @Dylan-DPC