Skip to content

Commit 30e65ce

Browse files
authored
Rollup merge of rust-lang#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.
2 parents 490d04b + 05ed13b commit 30e65ce

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_type_ir/src

1 file changed

+2
-0
lines changed

compiler/rustc_type_ir/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#![feature(fmt_helpers_for_derive)]
22
#![feature(min_specialization)]
33
#![feature(rustc_attrs)]
4+
#![deny(rustc::untranslatable_diagnostic)]
5+
#![deny(rustc::diagnostic_outside_of_impl)]
46

57
#[macro_use]
68
extern crate bitflags;

0 commit comments

Comments
 (0)