-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Migrate rustc_passes diagnostics #102110
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
Merged
bors
merged 29 commits into
rust-lang:master
from
CleanCut:migrate_rustc_passes_diagnostics
Oct 12, 2022
Merged
Migrate rustc_passes diagnostics #102110
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
bde80f7
Add lint for diagnostic migration
naritanara 2f74d1d
Migrate weak_lang_items.rs
naritanara 17a4a68
Migrate derivable diagnostics in lang_items.rs
naritanara 0315d7c
Migrate derivable diagnostics in check_attr.rs
naritanara 2c3351c
Migrate InvalidAttrAtCrateLevel
naritanara c24a873
always put ftl message on next line, resolve all but 1 output compari…
CleanCut b8e03cf
use consistent names
CleanCut 1222541
resolve merge conflict from cherry-picking 6a47326a0452cc8d5cb5767650…
diegooliveira c103c30
migrate the rest of weak_lang_items.rs to translateable diagnostics
CleanCut 1e86226
migrate debugger_visualizer.rs to translateable diagnostics
CleanCut f8ebc72
errors: add `emit_note`/`create_note`
davidtwco 3a74833
use cherry-picked commit from #100754 to emit note without error
CleanCut 0609c0f
migrate diagnostic_items.rs to translateable diagnostics
CleanCut 40d5f00
migrate layout_test.rs to translateable diagnostics
CleanCut c457abe
migrate lib_features.rs to translateable diagnostics
CleanCut 572f341
migrate check_const.rs to translateable diagnostics
CleanCut 69766e4
migrate loops.rs to translateable diagnostics
CleanCut 96f92ea
migrate naked_functions.rs to translateable diagnostics
CleanCut b17ec43
migrate entry.rs to translateable diagnostics
CleanCut f0afb88
migrate lang_items.rs to translateable diagnostics
CleanCut a7aa185
migrate dead.rs to translateable diagnostics
CleanCut 3fe8e00
migrate the rest of check_attr.rs to translateable diagnostics
CleanCut be4059d
migrate stability.rs to translateable diagnostics
CleanCut 965dbf6
First batch of review feedback changes from #102110
CleanCut 8e07a85
Remove code that was removed in master, and the corresponding diagnostic
CleanCut 57eba4f
avoid string dispatch in fluent
CleanCut 31c269a
avoid string dispatch in fluent
CleanCut 50e2795
remove out-of-date fixme
CleanCut 5ef1c03
make up your mind, rustfmt
CleanCut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
559 changes: 478 additions & 81 deletions
559
compiler/rustc_error_messages/locales/en-US/passes.ftl
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.