Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxu
Use workspace lints for crates in `compiler/` This is nicer and hopefully less error prone than specifying lints via bootstrap. r? ``@jieyouxu``
This commit is contained in:
commit
48caf81484
144 changed files with 252 additions and 90 deletions
|
@ -26,3 +26,6 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
|
|||
rustc_type_ir = { path = "../rustc_type_ir" }
|
||||
tracing = "0.1"
|
||||
# tidy-alphabetical-end
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#![feature(unqualified_local_imports)]
|
||||
#![feature(yeet_expr)]
|
||||
#![warn(unqualified_local_imports)]
|
||||
#![warn(unreachable_pub)]
|
||||
// tidy-alphabetical-end
|
||||
|
||||
pub mod check_consts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue