mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 21:17:39 +00:00
![]() lint: add diagnostic translation migration lints Introduce allow-by-default lints for checking whether diagnostics are written in `SessionDiagnostic` or `AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation. These lints are intended to be temporary - once all diagnostics have been changed then we can just change the APIs we have and that will enforce these constraints thereafter. r? `````@oli-obk````` |
||
---|---|---|
.. | ||
liveness | ||
check_attr.rs | ||
check_const.rs | ||
dead.rs | ||
debugger_visualizer.rs | ||
diagnostic_items.rs | ||
entry.rs | ||
hir_id_validator.rs | ||
hir_stats.rs | ||
lang_items.rs | ||
layout_test.rs | ||
lib_features.rs | ||
lib.rs | ||
liveness.rs | ||
loops.rs | ||
naked_functions.rs | ||
reachable.rs | ||
stability.rs | ||
upvars.rs | ||
weak_lang_items.rs |