diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-19 12:26:46 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-19 12:26:46 +0530 |
| commit | 30e65cea07deacff8ab23388cf8ddf5e8b3caaaf (patch) | |
| tree | 12487a32d80d30d18c5f4ae3b744e2efac959cdb | |
| parent | 490d04bfbcec365533591a5a5bbcd58fcd3f6517 (diff) | |
| parent | 05ed13b476b38867405c7d3efe6303d939bcf428 (diff) | |
| download | rust-30e65cea07deacff8ab23388cf8ddf5e8b3caaaf.tar.gz rust-30e65cea07deacff8ab23388cf8ddf5e8b3caaaf.zip | |
Rollup merge of #100721 - JhonnyBillM:enable-diag-lint-in-type-ir, r=compiler-errors
Add diagnostics lints to `rustc_type_ir` module Module is complete. 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; |
