diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-03 18:59:30 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-20 08:59:43 +1100 |
| commit | 8121958fda43759fa94e3f74f7cdbb595ddcc0e5 (patch) | |
| tree | c20bf9e69eff3c798349dd05b42ee8080af954f4 /compiler/rustc_ast_ir | |
| parent | 1aeb99d248e1b0069110cb03c6f1dcc7b36fd7f3 (diff) | |
| download | rust-8121958fda43759fa94e3f74f7cdbb595ddcc0e5.tar.gz rust-8121958fda43759fa94e3f74f7cdbb595ddcc0e5.zip | |
Use `-Wunused_crate_dependencies` for compiler crates.
It's very useful. There are some false positives involving integration tests in `rustc_pattern_analysis` and `rustc_serialize`. There is also a false positive involving `rustc_driver_impl`'s `rustc_randomized_layouts` feature. And I removed a `rustc_span` mention in a doc comment in `rustc_log` because it wasn't integral to the comment but caused a dev-dependency.
Diffstat (limited to 'compiler/rustc_ast_ir')
| -rw-r--r-- | compiler/rustc_ast_ir/Cargo.toml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_ast_ir/Cargo.toml b/compiler/rustc_ast_ir/Cargo.toml index f54e9687d8c..76bdd9f7eb6 100644 --- a/compiler/rustc_ast_ir/Cargo.toml +++ b/compiler/rustc_ast_ir/Cargo.toml @@ -8,7 +8,6 @@ edition = "2024" rustc_data_structures = { path = "../rustc_data_structures", optional = true } rustc_macros = { path = "../rustc_macros", optional = true } rustc_serialize = { path = "../rustc_serialize", optional = true } -rustc_span = { path = "../rustc_span", optional = true } # tidy-alphabetical-end [features] @@ -17,5 +16,4 @@ nightly = [ "dep:rustc_serialize", "dep:rustc_data_structures", "dep:rustc_macros", - "dep:rustc_span", ] |
