Skip to content

Commit 05ed13b

Browse files
committed
ADD - diagnostic lints to type_ir
Module is completed because it doesn’t have any diagnostics
1 parent bb99e6f commit 05ed13b

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)