X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Fredundant_semicolon.rs;h=9a8b14b4907eaeeac69f112a5584b8b5b57d1530;hb=675976eb21dda25e017a1241fe1fefb53f88aad5;hp=6c6add34a520c076f77ac02a1059bcd035f9a005;hpb=c3a6801f8e5ce0aee0a62eb022780740ee61535d;p=rust.git diff --git a/compiler/rustc_lint/src/redundant_semicolon.rs b/compiler/rustc_lint/src/redundant_semicolon.rs index 6c6add34a52..9a8b14b4907 100644 --- a/compiler/rustc_lint/src/redundant_semicolon.rs +++ b/compiler/rustc_lint/src/redundant_semicolon.rs @@ -1,5 +1,3 @@ -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] use crate::{lints::RedundantSemicolonsDiag, EarlyContext, EarlyLintPass, LintContext}; use rustc_ast::{Block, StmtKind}; use rustc_span::Span;