diff options
| author | bors <bors@rust-lang.org> | 2022-08-20 07:59:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-20 07:59:48 +0000 |
| commit | 36e530cb08950f1d03ab733e43ecec2802d099cf (patch) | |
| tree | e065b491027f2d360e8085f023daffcbe49c89a5 /compiler/rustc_llvm/src | |
| parent | e1b28cd2f16bd5b832183d7968cae3bb9213e78d (diff) | |
| parent | 60edec9ddf9f59c6e5ec86456070440031a87943 (diff) | |
| download | rust-36e530cb08950f1d03ab733e43ecec2802d099cf.tar.gz rust-36e530cb08950f1d03ab733e43ecec2802d099cf.zip | |
Auto merge of #100793 - matthiaskrgr:rollup-dy7rfdh, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #100186 (Mention `as_mut` alongside `as_ref` in borrowck error message) - #100383 (Mitigate stale data reads on SGX platform) - #100507 (suggest `once_cell::Lazy` for non-const statics) - #100617 (Suggest the right help message for as_ref) - #100667 (Migrate "invalid variable declaration" errors to SessionDiagnostic) - #100709 (Migrate typeck's `used` expected symbol diagnostic to `SessionDiagnostic`) - #100723 (Add the diagnostic translation lints to crates that don't emit them) - #100729 (Avoid zeroing a 1kb stack buffer on every call to `std::sys::windows::fill_utf16_buf`) - #100750 (improved diagnostic for function defined with `def`, `fun`, `func`, or `function` instead of `fn`) - #100763 (triagebot: Autolabel `A-rustdoc-json`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_llvm/src')
| -rw-r--r-- | compiler/rustc_llvm/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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. |
