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.
This commit is contained in:
Nicholas Nethercote 2025-03-11 12:11:04 +11:00
parent 9fb94b32df
commit 32afef411b
2 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -33,6 +33,3 @@ nightly = [
"rustc_index/nightly",
"rustc_ast_ir/nightly",
]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] }