rust/compiler/rustc_macros/src
Matthias Krüger 46a0448405
Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco
Invert diagnostic lints.

That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has been converted to use translated diagnostics.

This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.

r? ````@davidtwco````
2024-02-09 14:41:50 +01:00
..
diagnostics Add SubdiagnosticMessageOp as a trait alias. 2024-02-08 13:02:44 +11:00
symbols Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
current_version.rs Simplify the current_rustc_version macro. 2023-11-10 10:54:21 +11:00
hash_stable.rs remove redundant imports 2023-12-10 10:56:22 +08:00
lib.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
lift.rs remove redundant imports 2023-12-10 10:56:22 +08:00
query.rs Correctly explain ensure_forwards_result_if_red 2024-01-24 11:04:13 +00:00
serialize.rs u8 tags for smaller enums 2024-01-09 20:08:44 -05:00
symbols.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
type_foldable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00
type_visitable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00