diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-11 12:11:04 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-11 12:11:04 +1100 |
| commit | 32afef411b159e8a85a4039089d9165de515a08d (patch) | |
| tree | f00ab00b506e9d27bafc70325c2b426ccd74cf02 | |
| parent | 9fb94b32df38073bf63d009df77ed10cb1c989d0 (diff) | |
| download | rust-32afef411b159e8a85a4039089d9165de515a08d.tar.gz rust-32afef411b159e8a85a4039089d9165de515a08d.zip | |
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.
| -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)'] } |
