rust/compiler/rustc_passes/src
bors a64ef7d07d Auto merge of #100754 - davidtwco:translation-incremental, r=compiler-errors
incremental: migrate diagnostics

- Apply the diagnostic migration lints to more functions on `Session`, namely: `span_warn`, `span_warn_with_code`, `warn` `note_without_error`, `span_note_without_error`, `struct_note_without_error`.
- Add impls of `IntoDiagnosticArg` for `std::io::Error`, `std::path::Path` and `std::path::PathBuf`.
- Migrate the `rustc_incremental` crate's diagnostics to translatable diagnostic structs.

r? `@compiler-errors`
cc #100717
2023-01-31 10:20:58 +00:00
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
check_const.rs session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
dead.rs Consider #[allow(dead_code)] before lang items 2023-01-30 10:54:33 +00:00
debugger_visualizer.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
diagnostic_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
entry.rs Move compiler input and ouput paths into session 2023-01-16 14:46:44 +00:00
errors.rs session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
hir_id_validator.rs Verify that HIR parenting and Def parenting match. 2022-11-26 17:28:59 +00:00
hir_stats.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
lang_items.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
layout_test.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
lib.rs Lint against usages of struct_span_lint_hir. 2022-10-29 18:03:47 +08:00
lib_features.rs fix: don't emit E0711 if staged_api not enabled 2023-01-14 22:04:42 +13:00
liveness.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
loops.rs Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
naked_functions.rs migrate naked_functions.rs to translateable diagnostics 2022-10-07 13:19:27 -06:00
reachable.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
stability.rs Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
upvars.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
weak_lang_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00