diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-03-11 13:30:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-11 13:30:56 +0100 |
| commit | 7e4c08b82bb3f061cc7592ee93504ddf27e28869 (patch) | |
| tree | 6400303eabbdcdb70aedd71a3cfb8183d4e59488 | |
| parent | 03a79a77ac6ff0a7c89195fcb85f8b159a1ef583 (diff) | |
| parent | 32afef411b159e8a85a4039089d9165de515a08d (diff) | |
| download | rust-7e4c08b82bb3f061cc7592ee93504ddf27e28869.tar.gz rust-7e4c08b82bb3f061cc7592ee93504ddf27e28869.zip | |
Rollup merge of #138330 - nnethercote:rm-lints-rust-sections, r=jieyouxu
Remove unnecessary `[lints.rust]` sections. `bootstrap` and `llvm_enzyme` are now both in the extra `check-cfg` list in bootstrap, so they doesn't need to be handled explicitly in `Cargo.toml` files. r? ```@jieyouxu```
| -rw-r--r-- | compiler/rustc_builtin_macros/Cargo.toml | 4 | ||||
| -rw-r--r-- | compiler/rustc_type_ir/Cargo.toml | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_builtin_macros/Cargo.toml b/compiler/rustc_builtin_macros/Cargo.toml index b5f4f2efd1f..1289d21308b 100644 --- a/compiler/rustc_builtin_macros/Cargo.toml +++ b/compiler/rustc_builtin_macros/Cargo.toml @@ -3,10 +3,6 @@ name = "rustc_builtin_macros" version = "0.0.0" edition = "2024" - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(llvm_enzyme)'] } - [lib] doctest = false diff --git a/compiler/rustc_type_ir/Cargo.toml b/compiler/rustc_type_ir/Cargo.toml index 7b2593b96e3..4adf7157926 100644 --- a/compiler/rustc_type_ir/Cargo.toml +++ b/compiler/rustc_type_ir/Cargo.toml @@ -33,6 +33,3 @@ nightly = [ "rustc_index/nightly", "rustc_ast_ir/nightly", ] - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] } |
