diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-06 09:51:39 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-06 13:12:33 +1100 |
| commit | 007cea323884bc8f61effcbf625bcb1d7368a7ec (patch) | |
| tree | b515d8296b9c8dc4e4b6147d1353e5999eaff5e2 /src | |
| parent | fe7be54b9121aaa99802b943bc9a7316f863e16d (diff) | |
| download | rust-007cea323884bc8f61effcbf625bcb1d7368a7ec.tar.gz rust-007cea323884bc8f61effcbf625bcb1d7368a7ec.zip | |
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 be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs index f8f054db65e..863b6333bcc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,8 +27,6 @@ #![recursion_limit="256"] #![warn(rust_2018_idioms)] #![warn(unused_lifetimes)] -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] extern crate rustc_apfloat; extern crate rustc_ast; |
