]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/lib.rs
Rollup merge of #105239 - gh2o:no-heap-alloc-on-thread-start, r=cuviper
[rust.git] / compiler / rustc_expand / src / lib.rs
index b34de94fb7db4a43579cf08200ccf1b0399d012b..897268566358a5b0fae9d68c08e4c6655a3e57b5 100644 (file)
@@ -10,6 +10,7 @@
 #![feature(rustc_attrs)]
 #![feature(try_blocks)]
 #![recursion_limit = "256"]
+#![deny(rustc::untranslatable_diagnostic)]
 
 #[macro_use]
 extern crate rustc_macros;
 pub mod errors;
 pub mod expand;
 pub mod module;
+
+// FIXME(Nilstrieb) Translate proc_macro diagnostics
+#[allow(rustc::untranslatable_diagnostic)]
 pub mod proc_macro;
 
+// FIXME(Nilstrieb) Translate macro_rules diagnostics
+#[allow(rustc::untranslatable_diagnostic)]
 pub(crate) mod mbe;
 
 // HACK(Centril, #64197): These shouldn't really be here.