about summary refs log tree commit diff
path: root/compiler/rustc_log
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-06 09:51:39 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-06 13:12:33 +1100
commit0ac1195ee0f8cd6d87e654a2312b899883272ec2 (patch)
treef8596e0b8674127fe7d8c491a09549b4d65116a1 /compiler/rustc_log
parent4e3eed48926b8b70eee8beb082e37ffa4985c0ed (diff)
downloadrust-0ac1195ee0f8cd6d87e654a2312b899883272ec2.tar.gz
rust-0ac1195ee0f8cd6d87e654a2312b899883272ec2.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 'compiler/rustc_log')
-rw-r--r--compiler/rustc_log/src/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_log/src/lib.rs b/compiler/rustc_log/src/lib.rs
index e3464cb8a2d..1a78f9f0f86 100644
--- a/compiler/rustc_log/src/lib.rs
+++ b/compiler/rustc_log/src/lib.rs
@@ -38,9 +38,6 @@
 //! debugging, you can make changes inside those crates and quickly run main.rs
 //! to read the debug logs.
 
-#![deny(rustc::untranslatable_diagnostic)]
-#![deny(rustc::diagnostic_outside_of_impl)]
-
 use std::env::{self, VarError};
 use std::fmt::{self, Display};
 use std::io::{self, IsTerminal};