Skip to content

Commit

Permalink
Rollup merge of rust-lang#120693 - nnethercote:invert-diagnostic-lint…
Browse files Browse the repository at this point in the history
…s, r=davidtwco

Invert diagnostic lints.

That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has been converted to use translated diagnostics.

This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted.

r? ````@davidtwco````
  • Loading branch information
matthiaskrgr committed Feb 9, 2024
2 parents 1f5316a + 007cea3 commit 5a12a89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#![recursion_limit="256"]
#![warn(rust_2018_idioms)]
#![warn(unused_lifetimes)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

extern crate rustc_apfloat;
extern crate rustc_ast;
Expand Down

0 comments on commit 5a12a89

Please sign in to comment.