X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Fnoop_method_call.rs;h=d67a00619dd09eb1a5cb7fb0d3d8e0af542fd018;hb=c3b1f5428b7ed8b5e75e5ac8e4e26a46093a7965;hp=ed796940b89df4d6f77b6cc2a3a1c858d9abf826;hpb=a0614ec2c3184a025692fc06aacb0df50fba2a19;p=rust.git diff --git a/compiler/rustc_lint/src/noop_method_call.rs b/compiler/rustc_lint/src/noop_method_call.rs index ed796940b89..d67a00619dd 100644 --- a/compiler/rustc_lint/src/noop_method_call.rs +++ b/compiler/rustc_lint/src/noop_method_call.rs @@ -1,5 +1,3 @@ -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] use crate::context::LintContext; use crate::lints::NoopMethodCallDiag; use crate::LateContext;