-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 E0493 #64377
Conversation
Some changes occurred in diagnostic error codes |
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
src/librustc_mir/error_codes.rs
Outdated
// by hand. | ||
``` | ||
|
||
And by using `lazy_static`: |
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'm not sure we should (only?) suggest lazy_static
here. It feels like playing favorites while crates like https://docs.rs/once_cell/1.1.0/once_cell/ might be more idiomatic Rust these days.
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.
Maybe I should just not talk about those crate at all. I'll remove this part.
This comment has been minimized.
This comment has been minimized.
e375c16
to
9ac9c04
Compare
This comment has been minimized.
This comment has been minimized.
9ac9c04
to
0ad141c
Compare
@bors r+ rollup |
📌 Commit 0ad141c has been approved by |
Add long error explanation for E0493 Part of rust-lang#61137.
Failed in #64427 (comment), @bors r- Please run |
Awkwardly stealing this PR for some initial testing... @rust-timer queue |
Successfully queued build, kicking off bors: @bors try |
@rust-timer: 🔑 Insufficient privileges: not in try users |
Ping from triage, any updates? @GuillaumeGomez |
@GuillaumeGomez updates? // triage |
0ad141c
to
9f978b7
Compare
Updated! |
@bors r+ |
📌 Commit 9f978b7 has been approved by |
Add long error explanation for E0493 Part of rust-lang#61137.
Rollup of 9 pull requests Successful merges: - #64377 (Add long error explanation for E0493) - #64786 (Use https for curl when building for linux) - #64828 (Graphviz debug output for generic dataflow analysis) - #64838 (Add long error explanation for E0550) - #64891 (Fix `vec![x; n]` with null raw fat pointer zeroing the pointer metadata) - #64893 (Zero-initialize `vec![None; n]` for `Option<&T>`, `Option<&mut T>` and `Option<Box<T>>`) - #64911 (Fixed a misleading documentation issue #64844) - #64921 (Add test for issue-64662) - #64923 (Add missing links for mem::needs_drop) Failed merges: - #64918 (Add long error explanation for E0551) r? @ghost
Part of #61137.