diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-08-18 13:33:03 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-08-18 13:33:03 -0400 |
| commit | 05ed13b476b38867405c7d3efe6303d939bcf428 (patch) | |
| tree | 1a347736549be31042ae4a41f282caa7dd510f5a | |
| parent | bb99e6fdd99b0a9a9f75bc60b0995b4ef8e752ab (diff) | |
ADD - diagnostic lints to type_ir
Module is completed because it doesn’t have any diagnostics
| -rw-r--r-- | compiler/rustc_type_ir/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_type_ir/src/lib.rs b/compiler/rustc_type_ir/src/lib.rs index 791e9e0f5a3..5488bca8f47 100644 --- a/compiler/rustc_type_ir/src/lib.rs +++ b/compiler/rustc_type_ir/src/lib.rs @@ -1,6 +1,8 @@ #![feature(fmt_helpers_for_derive)] #![feature(min_specialization)] #![feature(rustc_attrs)] +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] #[macro_use] extern crate bitflags; |
