1
Fork 0
rust/compiler/rustc_passes/src
Dylan DPC 291df97fae
Rollup merge of #98624 - davidtwco:translation-on-lints, r=compiler-errors
lints: mostly translatable diagnostics

As lints are created slightly differently than other diagnostics, intended to try make them translatable first and then look into the applicability of diagnostic structs but ended up just making most of the diagnostics in the crate translatable (which will still be useful if I do make a lot of them structs later anyway).

r? ``@compiler-errors``
2022-07-05 16:04:32 +05:30
..
liveness Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
check_attr.rs middle: translation in LintDiagnosticBuilder 2022-06-30 08:58:41 +01:00
check_const.rs Remove #[default..] and add #[const_trait] 2022-05-30 08:52:24 +00:00
dead.rs Rewrite dead-code pass to avoid fetching HIR. 2022-06-22 20:48:18 +02:00
debugger_visualizer.rs Respond to PR comments. 2022-05-25 10:44:56 -07:00
diagnostic_items.rs remove DiagnosticItemCollector 2022-05-13 11:46:05 -04:00
entry.rs rustc_passes: De-duplicate more code with fn throw_attr_err() 2022-06-25 21:43:33 +02:00
hir_id_validator.rs remove unnecessary methods from HirIdValidator 2022-05-13 11:46:06 -04:00
hir_stats.rs Remove unused hir_id arg from visit_attribute. 2022-06-16 09:52:04 +10:00
lang_items.rs use def_span and def_kind queries instead of calling tcx.hir() methods 2022-05-06 12:11:05 -04:00
layout_test.rs remove LayoutTest 2022-05-13 11:46:05 -04:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
lib_features.rs Remove unused hir_id arg from visit_attribute. 2022-06-16 09:52:04 +10:00
liveness.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
loops.rs Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011 2022-06-15 19:37:14 +09:00
naked_functions.rs Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011 2022-06-15 19:37:14 +09:00
reachable.rs Remove a possible unnecessary assignment 2022-06-18 01:51:38 +09:00
stability.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
upvars.rs Make ExprKind::Closure a struct variant. 2022-06-12 00:16:27 +02:00
weak_lang_items.rs rustc_target: Remove some redundant target properties 2022-06-18 01:09:20 +03:00