diff options
| author | Giacomo Stevanato <giaco.stevanato@gmail.com> | 2022-08-20 18:33:35 +0200 |
|---|---|---|
| committer | Giacomo Stevanato <giaco.stevanato@gmail.com> | 2022-08-22 13:22:09 +0200 |
| commit | ccc1a4b7a184127e2e6b60000009828b2d4110d3 (patch) | |
| tree | e86953535f62e427594266549462c1d9749c50a8 /compiler/rustc_interface/src/lib.rs | |
| parent | b411adec2aff3d57928e42017aa267fbed6e05f5 (diff) | |
| download | rust-ccc1a4b7a184127e2e6b60000009828b2d4110d3.tar.gz rust-ccc1a4b7a184127e2e6b60000009828b2d4110d3.zip | |
Deny diagnostic lints in rustc_interface
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
| -rw-r--r-- | compiler/rustc_interface/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/lib.rs b/compiler/rustc_interface/src/lib.rs index 5ff1a952aef..258e38c3bdb 100644 --- a/compiler/rustc_interface/src/lib.rs +++ b/compiler/rustc_interface/src/lib.rs @@ -5,6 +5,8 @@ #![feature(once_cell)] #![recursion_limit = "256"] #![allow(rustc::potential_query_instability)] +#![deny(rustc::untranslatable_diagnostic)] +#![deny(rustc::diagnostic_outside_of_impl)] mod callbacks; mod errors; |
