about summary refs log tree commit diff
path: root/compiler/rustc_graphviz/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_graphviz/src/lib.rs')
-rw-r--r--compiler/rustc_graphviz/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_graphviz/src/lib.rs b/compiler/rustc_graphviz/src/lib.rs
index 6eaff5c2f74..3c1bb553266 100644
--- a/compiler/rustc_graphviz/src/lib.rs
+++ b/compiler/rustc_graphviz/src/lib.rs
@@ -273,6 +273,8 @@
     html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
     test(attr(allow(unused_variables), deny(warnings)))
 )]
+#![deny(rustc::untranslatable_diagnostic)]
+#![deny(rustc::diagnostic_outside_of_impl)]
 
 use LabelText::*;