]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/lib.rs
Use `allow_internal_unstable` and add unstable reason
[rust.git] / compiler / rustc_passes / src / lib.rs
index 39ebb8db21cbcf904a7259cf53e6656503a22cf2..15f60f626c89aa54be31b73707b0a34a87f80c6d 100644 (file)
@@ -5,10 +5,11 @@
 //! This API is completely unstable and subject to change.
 
 #![allow(rustc::potential_query_instability)]
+#![deny(rustc::untranslatable_diagnostic)]
+#![deny(rustc::diagnostic_outside_of_impl)]
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![feature(iter_intersperse)]
 #![feature(let_chains)]
-#![cfg_attr(bootstrap, feature(let_else))]
 #![feature(map_try_insert)]
 #![feature(min_specialization)]
 #![feature(try_blocks)]