X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Ftraits.rs;h=7ea1a138b7e60252e771b4ddffa896577a0c48b1;hb=f02439dea78e5c2df42198c7a03e2db6002ff263;hp=2e778cf0d0fe07bf958f5fd1ee144a747a633367;hpb=a42afa0444118ae5549f89e8ea9a15b73702fbcf;p=rust.git diff --git a/compiler/rustc_lint/src/traits.rs b/compiler/rustc_lint/src/traits.rs index 2e778cf0d0f..7ea1a138b7e 100644 --- a/compiler/rustc_lint/src/traits.rs +++ b/compiler/rustc_lint/src/traits.rs @@ -1,5 +1,3 @@ -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] use crate::lints::{DropGlue, DropTraitConstraintsDiag}; use crate::LateContext; use crate::LateLintPass;