From f38db48dbd534af0ef67c39299a393e7d1fe49e9 Mon Sep 17 00:00:00 2001 From: Rejyr Date: Sun, 13 Nov 2022 10:42:49 -0500 Subject: [PATCH] add: allow lints in `lints.rs` --- compiler/rustc_lint/src/lints.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index ee6fa5300f4a..a98d5cec9791 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -1,3 +1,5 @@ +#![allow(rustc::untranslatable_diagnostic)] +#![allow(rustc::diagnostic_outside_of_impl)] use std::num::NonZeroU32; use rustc_errors::{