diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-09 10:34:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 10:34:50 +0100 |
| commit | 48caf81484b50dca5a5cebb614899a3df81ca898 (patch) | |
| tree | 295b6853334a3209d97134fb870d2fe7d8fbcb30 /compiler/rustc_serialize | |
| parent | c6662879b27f5161e95f39395e3c9513a7b97028 (diff) | |
| parent | 8a3e03392ef12508a3ce50875594ddedd1164ed7 (diff) | |
| download | rust-48caf81484b50dca5a5cebb614899a3df81ca898.tar.gz rust-48caf81484b50dca5a5cebb614899a3df81ca898.zip | |
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``
Diffstat (limited to 'compiler/rustc_serialize')
| -rw-r--r-- | compiler/rustc_serialize/Cargo.toml | 3 | ||||
| -rw-r--r-- | compiler/rustc_serialize/src/lib.rs | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_serialize/Cargo.toml b/compiler/rustc_serialize/Cargo.toml index 948242352e7..10bfe14abde 100644 --- a/compiler/rustc_serialize/Cargo.toml +++ b/compiler/rustc_serialize/Cargo.toml @@ -16,3 +16,6 @@ thin-vec = "0.2.12" rustc_macros = { path = "../rustc_macros" } tempfile = "3.2" # tidy-alphabetical-end + +[lints] +workspace = true diff --git a/compiler/rustc_serialize/src/lib.rs b/compiler/rustc_serialize/src/lib.rs index 9e9b78cfdd5..13c1a273eb8 100644 --- a/compiler/rustc_serialize/src/lib.rs +++ b/compiler/rustc_serialize/src/lib.rs @@ -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}; |
