From 5f2e58f82afeccf8e36a968cccc9f86d6befe95f Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 26 Aug 2026 19:03:36 -0400 Subject: [PATCH 1/2] rustc_thread_pool: fix lint `cargo::manual_readme` ``` warning: explicit `package.readme` can be inferred --> compiler/rustc_thread_pool/Cargo.toml:11:1 | 11 | readme = "README.md" | ^^^^^^^^^^^^^^^^^^^^ | = note: `cargo::manual_readme` is set to `warn` by default help: consider removing `package.readme` warning: `rustc_thread_pool` (manifest) generated 1 warning ``` See --- compiler/rustc_thread_pool/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_thread_pool/Cargo.toml b/compiler/rustc_thread_pool/Cargo.toml index c92984470b7ae..c7d04da428b0d 100644 --- a/compiler/rustc_thread_pool/Cargo.toml +++ b/compiler/rustc_thread_pool/Cargo.toml @@ -8,7 +8,6 @@ authors = [ description = "Core APIs for Rayon - fork for rustc" license = "MIT OR Apache-2.0" edition = "2021" -readme = "README.md" keywords = ["parallel", "thread", "concurrency", "join", "performance"] categories = ["concurrency"] From e3af0b6bc33c38ba9e3cb330e790bc50de283dc7 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 26 Aug 2026 20:53:00 -0400 Subject: [PATCH 2/2] compiletest: remove unused unified-diff dep ``` warning: unused dependency `unified-diff` --> src/tools/compiletest/Cargo.toml:37:1 | 37 | unified-diff = "0.2.1" | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `cargo::unused_dependencies` is set to `warn` by default help: consider removing the dependency on `unified-diff` warning: `compiletest` (manifest) generated 1 warning ``` See --- Cargo.lock | 10 ---------- src/tools/compiletest/Cargo.toml | 1 - 2 files changed, 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 90c8a59303c64..696b797e612f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -879,7 +879,6 @@ dependencies = [ "shim_utils", "tracing", "tracing-subscriber", - "unified-diff", "walkdir", "windows 0.61.3", ] @@ -6208,15 +6207,6 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" -[[package]] -name = "unified-diff" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496a3d395ed0c30f411ceace4a91f7d93b148fb5a9b383d5d4cff7850f048d5f" -dependencies = [ - "diff", -] - [[package]] name = "unit-prefix" version = "0.5.2" diff --git a/src/tools/compiletest/Cargo.toml b/src/tools/compiletest/Cargo.toml index 09c19be3dafd6..6f8c8eed07d18 100644 --- a/src/tools/compiletest/Cargo.toml +++ b/src/tools/compiletest/Cargo.toml @@ -34,7 +34,6 @@ serde_json = "1.0" shim_utils = { path = "../../shim_utils" } tracing = "0.1" tracing-subscriber = { version = "0.3.3", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec"] } -unified-diff = "0.2.1" walkdir = "2" # tidy-alphabetical-end