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:
Matthias Krüger 2025-03-09 10:34:50 +01:00 committed by GitHub
commit 48caf81484
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
144 changed files with 252 additions and 90 deletions

View file

@ -16,3 +16,6 @@ thin-vec = "0.2.12"
rustc_macros = { path = "../rustc_macros" }
tempfile = "3.2"
# tidy-alphabetical-end
[lints]
workspace = true

View file

@ -14,7 +14,6 @@
#![feature(min_specialization)]
#![feature(never_type)]
#![feature(rustdoc_internals)]
#![warn(unreachable_pub)]
// tidy-alphabetical-end
pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};