]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_pretty/src/lib.rs
Rollup merge of #100821 - WaffleLapkin:ptr_add_docs, r=scottmcm
[rust.git] / compiler / rustc_hir_pretty / src / lib.rs
index 0f754dddbec845c0b350ae3cf82b721ac1445aa6..42663da8a3f9c173d400e46eca4660dcea8b0c5c 100644 (file)
@@ -1,4 +1,6 @@
 #![recursion_limit = "256"]
+#![deny(rustc::untranslatable_diagnostic)]
+#![deny(rustc::diagnostic_outside_of_impl)]
 
 use rustc_ast as ast;
 use rustc_ast::util::parser::{self, AssocOp, Fixity};