Skip to content

Commit 902264b

Browse files
committed
allow cfg(bootstrap) to avoid check-cfg warning on stable
1 parent ad855fe commit 902264b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_type_ir/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ nightly = [
3131
"rustc_index/nightly",
3232
"rustc_ast_ir/nightly"
3333
]
34+
35+
[lints.rust]
36+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] }

0 commit comments

Comments
 (0)