]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/prefixes.rs
Rollup merge of #104294 - compiler-errors:inline-ct-err-in-mir-build, r=davidtwco
[rust.git] / compiler / rustc_borrowck / src / prefixes.rs
index 2b50cbac9a02da128786fa86e3ed5d80dcfa8b44..6f281349863763f0cbb578f0a93102ef6ec19b81 100644 (file)
@@ -1,3 +1,5 @@
+#![deny(rustc::untranslatable_diagnostic)]
+#![deny(rustc::diagnostic_outside_of_impl)]
 //! From the NLL RFC: "The deep [aka 'supporting'] prefixes for an
 //! place are formed by stripping away fields and derefs, except that
 //! we stop when we reach the deref of a shared reference. [...] "