X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Farray_into_iter.rs;h=3593f141df61ba783befdccf739ad5a95948a413;hb=7e6fc82951456976c67da8b56b46a8d5a4c30ba3;hp=ea5975ed4f0b3deab02f38ea118a8cff10315bf2;hpb=c63ba52562a0c6c8d19b320c558d437bb8d87bd8;p=rust.git diff --git a/compiler/rustc_lint/src/array_into_iter.rs b/compiler/rustc_lint/src/array_into_iter.rs index ea5975ed4f0..3593f141df6 100644 --- a/compiler/rustc_lint/src/array_into_iter.rs +++ b/compiler/rustc_lint/src/array_into_iter.rs @@ -1,5 +1,3 @@ -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] use crate::lints::{ArrayIntoIterDiag, ArrayIntoIterDiagSub}; use crate::{LateContext, LateLintPass, LintContext}; use rustc_hir as hir;