-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Use the more informative generic type inference failure error on method calls on raw pointers #122768
Conversation
rustbot has assigned @michaelwoerister. Use |
Some changes occurred in diagnostic error codes |
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.
r=me with green CI
This comment has been minimized.
This comment has been minimized.
You're not supposed to remove long error explanation files. Take a look at |
3488f8d
to
611361c
Compare
Some changes occurred in diagnostic error codes |
@@ -1,3 +1,5 @@ | |||
#### Note: this error code is no longer emitted by the compiler. | |||
|
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.
You also need to remove E0699
from the failing code example attributes just below.
@@ -441,7 +441,7 @@ E0695: 0695, | |||
E0696: 0696, | |||
E0697: 0697, | |||
E0698: 0698, | |||
E0699: 0699, | |||
E0699: 0699, // REMOVED: merged into generic inference var error |
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.
You can comment it and move it to the commented list below (but keep your comment).
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.
no I cannot 😆 I tried this first.
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.
Wait really? O.o
Dark magic going on...
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.
The comment at the top of the file says to not remove things anymore
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.
Hum... E0744 is commented, its file still exists and you can get it from rustc --explain E0744
, so I'm surprised. Oh well, as long as CI passes...
This comment has been minimized.
This comment has been minimized.
611361c
to
7f9a4af
Compare
@bors r=WaffleLapkin |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#122768 (Use the more informative generic type inference failure error on method calls on raw pointers) - rust-lang#123620 (sanitizers: Create the rustc_sanitizers crate) - rust-lang#123624 ([rustdoc] [GUI tests] Make theme switching closer to reality) - rust-lang#123636 (Update books) - rust-lang#123647 (rustdoc: slightly clean up the synthesis of blanket impls) - rust-lang#123648 (Avoid ICEing without the pattern_types feature gate) - rust-lang#123649 (KCFI: Use legal charset in shim encoding) - rust-lang#123652 (Fix UI tests with dist-vendored dependencies) - rust-lang#123655 (Remove unimplemented!() from BinOp::ty() function) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122768 - oli-obk:why_is_E0699_so_bad, r=WaffleLapkin Use the more informative generic type inference failure error on method calls on raw pointers
No description provided.