Skip to content

Commit

Permalink
allow cfg(bootstrap) to avoid check-cfg warning on stable
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Aug 24, 2024
1 parent ad855fe commit 902264b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/rustc_type_ir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ nightly = [
"rustc_index/nightly",
"rustc_ast_ir/nightly"
]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] }

0 comments on commit 902264b

Please sign in to comment.