X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Fmethods.rs;h=3045fc1a4761e47d2a1f2f339242338f9f5fb707;hb=7ff69b49dfcc0f7d37ee17e36f67c57168c44073;hp=06d4d2d23403d1c7d60a8757ea3b1fa1f4bd9305;hpb=95d3e0cb782016d7e360741a590cb07cc6413d27;p=rust.git diff --git a/compiler/rustc_lint/src/methods.rs b/compiler/rustc_lint/src/methods.rs index 06d4d2d2340..3045fc1a476 100644 --- a/compiler/rustc_lint/src/methods.rs +++ b/compiler/rustc_lint/src/methods.rs @@ -1,5 +1,3 @@ -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] use crate::lints::CStringPtr; use crate::LateContext; use crate::LateLintPass;