X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_llvm%2Fsrc%2Flib.rs;h=8542dcf5bf0fe4012215e4b58daeb2ee9f3508d3;hb=0d5573e6daf99a5b98ace3dfcc4be2eb64867169;hp=8eade02a408bcf2306206bc338c805753dc76c96;hpb=30a370678603ce8cdc47c91a09f335533119d4dd;p=rust.git diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 8eade02a408..8542dcf5bf0 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -1,3 +1,5 @@ +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] // NOTE: This crate only exists to allow linking on mingw targets.