rust/compiler/rustc_error_messages/locales/en-US
Dylan DPC 32471a7035
Rollup merge of #102110 - CleanCut:migrate_rustc_passes_diagnostics, r=davidtwco
Migrate rustc_passes diagnostics

Picks up abandoned work from https://github.com/rust-lang/rust/pull/100870

I would like to do this collaboratively, as there is a lot of work! Here's the process:

- Comment below that you are willing to help and I will add you as a collaborator to my `rust` fork (that gives you write access)
- Indicate which file/task you would like to work on (so we don't duplicate work) from the list below
- Do the work, push up a commit, comment that you're done with that file/task
- Repeat until done 😄

### Files to Migrate (in `compiler/rustc_passes/src/`)

- [x] check_attr.rs ``@CleanCut``
- [x] check_const.rs ``@CleanCut``
- [x] dead.rs ``@CleanCut``
- [x] debugger_visualizer.rs ``@CleanCut``
- [x] diagnostic_items.rs ``@CleanCut``
- [x] entry.rs ``@CleanCut``
- [x] lang_items.rs ``@CleanCut``
- [x] layout_test.rs ``@CleanCut``
- [x] lib_features.rs ``@CleanCut``
- [x] ~liveness.rs~ ``@CleanCut`` Nothing to do
- [x] loops.rs ``@CleanCut``
- [x] naked_functions.rs ``@CleanCut``
- [x] stability.rs ``@CleanCut``
- [x] weak_lang_items.rs ``@CleanCut``

### Tasks

- [x] Rebase on current `master` ``@CleanCut``
- [x] Review work from [the earlier PR](https://github.com/rust-lang/rust/pull/100870) and make sure it all looks good
  - [x] compiler/rustc_error_messages/locales/en-US/passes.ftl ``@CleanCut``
  - [x] compiler/rustc_passes/src/check_attr.rs ``@CleanCut``
  - [x] compiler/rustc_passes/src/errors.rs ``@CleanCut``
  - [x] compiler/rustc_passes/src/lang_items.rs ``@CleanCut``
  - [x] compiler/rustc_passes/src/lib.rs ``@CleanCut``
  - [x] compiler/rustc_passes/src/weak_lang_items.rs ``@CleanCut``
2022-10-12 11:11:23 +05:30
..
ast_lowering.ftl Improve the help message for an invalid calling convention 2022-09-22 22:18:30 +02:00
ast_passes.ftl Make async fn in traits work 2022-09-09 01:31:45 +00:00
attr.ftl Reorder diagnostics in code order, then alphabetical order 2022-08-22 20:19:19 +02:00
borrowck.ftl diag-mig 2022-08-26 10:32:59 +08:00
builtin_macros.ftl Replace - with _ in ftl slugs for better grepability 2022-08-12 22:22:55 +02:00
codegen_gcc.ftl lint and remove unused diagnostic 2022-09-26 19:57:40 -07:00
codegen_ssa.ftl ADD - implement IntoDiagnostic for thorin::Error wrapper 2022-10-07 10:03:45 -04:00
compiletest.ftl errors: rename typeck.ftl to hir_analysis.ftl 2022-10-03 13:52:17 +01:00
const_eval.ftl Addressed trailing newlines, odd whitespace skipped by x.py fmt 2022-08-22 12:38:16 -03:00
driver.ftl add UI test for unpretty 2022-08-30 09:31:52 +08:00
expand.ftl tidy: check fluent files for style 2022-08-18 12:34:11 +02:00
hir_analysis.ftl errors: rename typeck.ftl to hir_analysis.ftl 2022-10-03 13:52:17 +01:00
infer.ftl Add AscribeUserTypeProvePredicate 2022-09-16 17:20:11 -04:00
interface.ftl Prefix fluent resources with interface_ 2022-08-22 14:59:41 +02:00
lint.ftl Fix opaque_hidden_inferred_bound lint ICE 2022-10-05 19:47:19 +00:00
metadata.ftl change rlib format to discern native dependencies 2022-09-12 16:45:03 +03:00
middle.ftl First batch of review feedback changes from #102110 2022-10-07 13:19:28 -06:00
mir_dataflow.ftl Rename rustc_mir_dataflow diagnostic to mir_dataflow 2022-08-23 13:48:15 +01:00
monomorphize.ftl allow non-monomorphize modules to access hard-coded error message through new struct, use fluent message in monomorphize 2022-08-25 11:06:45 -06:00
parser.ftl improve E0585 help 2022-09-29 00:34:31 +08:00
passes.ftl avoid string dispatch in fluent 2022-10-07 14:39:09 -06:00
plugin_impl.ftl Migrate rustc_plugin_impl to SessionDiagnostic 2022-08-22 16:35:05 +01:00
privacy.ftl change AccessLevels representation 2022-09-14 18:11:00 +03:00
query_system.ftl correct span, add help message and add UI test when query depth overflows 2022-09-15 16:05:44 +08:00
save_analysis.ftl save_analysis: Migrate diagnostics 2022-08-24 06:50:16 +09:00
session.ftl Migrate rustc_session::expr_parentheses_needed to Subdiagnostic struct 2022-09-27 20:29:18 +02:00
symbol_mangling.ftl UPDATE - merge and avoid translations for symbol mangling test output 2022-09-13 16:19:32 -04:00
trait_selection.ftl Porting 'compiler/rustc_trait_selection' to translatable diagnostics - Part 1 2022-09-01 12:54:50 -05:00
ty_utils.ftl Migrate rustc_ty_utils to use SessionDiagnostic 2022-08-26 14:36:51 +01:00