-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add long error explanation for E0623 #66186
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add long error explanation for E0623 #66186
Conversation
Some changes occurred in diagnostic error codes |
looks good to me. Let's get another 👀 from @kinnison |
src/librustc/error_codes.rs
Outdated
``` | ||
|
||
In this example, we tried to set a value with an incompatible lifetime to | ||
another one (`'long` != `'short`). We can solve this issue in two different |
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.
I'd be tempted to say "is unrelated to" rather than just !=
:
another one (`'long` != `'short`). We can solve this issue in two different | |
another one (`'long` is unrelated to `'short`). We can solve this issue in two different |
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 |
@bors: r+ rollup |
📌 Commit fd868d4 has been approved by |
…-E0623, r=Dylan-DPC Add long error explanation for E0623 Part of rust-lang#61137. r? @Dylan-DPC
…-E0623, r=Dylan-DPC Add long error explanation for E0623 Part of rust-lang#61137. r? @Dylan-DPC
Rollup of 14 pull requests Successful merges: - #65932 (download .tar.xz if python3 is used) - #66094 (Fix documentation for `Iterator::count()`.) - #66166 (rename cfg(rustdoc) into cfg(doc)) - #66186 (Add long error explanation for E0623) - #66227 (docs: Fix link to BufWriter::flush) - #66248 (add raw ptr variant of UnsafeCell::get) - #66292 (add Result::map_or) - #66297 (Add a callback that allows compiler consumers to override queries.) - #66317 (Use a relative bindir for rustdoc to find rustc) - #66330 (Improve non-exhaustiveness handling in usefulness checking) - #66331 (Add some tests for fixed ICEs) - #66334 (Move Session fields to CrateStore) - #66335 (Move self-profile infrastructure to data structures) - #66337 (Remove dead code for encoding/decoding lint IDs) Failed merges: r? @ghost
☔ The latest upstream changes (presumably #66366) made this pull request unmergeable. Please resolve the merge conflicts. |
Part of #61137.
r? @Dylan-DPC