rust/compiler/rustc_lint/src
bors e64f1110c0 Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors
Flatten diagnostic slug modules

This makes it easier to grep for the slugs in the code.

See https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Localization.20infra.20interferes.20with.20grepping.20for.20error for more discussion about it.

This was mostly done with a few regexes and a bunch of manual work. This also exposes a pretty annoying inconsistency for the extra labels. Some of the extra labels are defined as additional properties in the fluent message (which makes them not prefixed with the crate name) and some of them are new fluent messages themselves (which makes them prefixed with the crate name). I don't know whether we want to clean this up at some point but it's useful to know.

r? `@davidtwco`
2022-10-23 09:06:39 +00:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
builtin.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
context.rs link lint function with decorate function param to struct_lint_level 2022-10-12 14:16:24 +00:00
early.rs Remove -Ztime option. 2022-10-06 15:49:44 +11:00
enum_intrinsics_non_enums.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expect.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
for_loops_over_fallibles.rs adopt to building infcx 2022-10-09 13:07:21 +00:00
hidden_unicode_codepoints.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
internal.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
late.rs Remove -Ztime option. 2022-10-06 15:49:44 +11:00
let_underscore.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
levels.rs Change unknown_lint applicability to MaybeIncorrect 2022-10-22 07:17:36 -04:00
lib.rs fixup lint name 2022-10-09 13:07:21 +00:00
methods.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_ascii_idents.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_fmt_panic.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
nonstandard_style.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
noop_method_call.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
opaque_hidden_inferred_bound.rs Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
pass_by_value.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
passes.rs Remove unused argument from check_mac_def. 2022-09-12 14:05:54 +10:00
redundant_semicolon.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
types.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
unused.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00