-
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
Migrate rustc_passes
to translatable diagnostics
#110816
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
e146b3c
to
cebe19f
Compare
cebe19f
to
d518fb4
Compare
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.
Looks good except for one nit, take it or leave it 😸
@bors delegate+ |
✌️ @clubby789 can now approve this pull request |
d518fb4
to
ddac20e
Compare
This comment has been minimized.
This comment has been minimized.
Oops - I'll fix that soon, as long as the new WET approach looks good? |
Looks fine to me, though I would probably just inline |
Either that, or make a different enum instead of using a boolean. No strong opinion. |
ddac20e
to
6a41cfe
Compare
@bors r=compiler-errors |
…, r=compiler-errors Migrate `rustc_passes` to translatable diagnostics cc rust-lang#100717
…, r=compiler-errors Migrate `rustc_passes` to translatable diagnostics cc rust-lang#100717
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#110426 (docs(style): add more let-else examples) - rust-lang#110804 (Remove repeated definite articles) - rust-lang#110814 (Sprinkle some `#[inline]` in `rustc_data_structures::tagged_ptr`) - rust-lang#110816 (Migrate `rustc_passes` to translatable diagnostics) - rust-lang#110864 (`IntoFuture::into_future` is no longer unstable) - rust-lang#110866 (Make `method-not-found-generic-arg-elision.rs` error message not path dependent) - rust-lang#110872 (Nicer ICE for rust-lang#67981) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
cc #100717