diff options
| author | Rejyr <jerrylwang123@gmail.com> | 2022-11-13 10:42:49 -0500 |
|---|---|---|
| committer | Rejyr <jerrylwang123@gmail.com> | 2023-01-09 18:57:02 -0500 |
| commit | f38db48dbd534af0ef67c39299a393e7d1fe49e9 (patch) | |
| tree | c0d940f709ed62072697c8bafd673676a67f7c25 /compiler/rustc_lint | |
| parent | 758140e196ae2d520d3f286797c654d517bed5b5 (diff) | |
| download | rust-f38db48dbd534af0ef67c39299a393e7d1fe49e9.tar.gz rust-f38db48dbd534af0ef67c39299a393e7d1fe49e9.zip | |
add: allow lints in `lints.rs`
Diffstat (limited to 'compiler/rustc_lint')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index ee6fa5300f4..a98d5cec979 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::{ |
