Skip to content

Commit e72e16a

Browse files
authored
Unrolled build for rust-lang#138330
Rollup merge of rust-lang#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```
2 parents ebf0cf7 + 32afef4 commit e72e16a

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

compiler/rustc_builtin_macros/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name = "rustc_builtin_macros"
33
version = "0.0.0"
44
edition = "2024"
55

6-
7-
[lints.rust]
8-
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(llvm_enzyme)'] }
9-
106
[lib]
117
doctest = false
128

compiler/rustc_type_ir/Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,3 @@ nightly = [
3333
"rustc_index/nightly",
3434
"rustc_ast_ir/nightly",
3535
]
36-
37-
[lints.rust]
38-
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] }

0 commit comments

Comments
 (0)