rust/compiler/rustc_ast_lowering/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
..
asm.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
block.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
delegation.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
errors.rs Add SubdiagnosticMessageOp as a trait alias. 2024-02-08 13:02:44 +11:00
expr.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
format.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
index.rs hir: Add some FIXMEs for future work 2024-02-07 09:59:15 +03:00
item.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
lib.rs Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwco 2024-02-09 14:41:50 +01:00
lifetime_collector.rs Reduce exposure of some things. 2023-11-28 14:32:40 +11:00
pat.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00
path.rs No need to take ImplTraitContext by ref 2024-02-07 19:30:32 +00:00