diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-08-24 20:40:02 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-08-24 20:40:02 +0000 |
| commit | 902264b1a6c3d782df3242440cc6c5b866f982d0 (patch) | |
| tree | a7da8dde461a5c17dbf79a4867444d13cad55a4d | |
| parent | ad855fe6db641755c528fb5b1cc0308f3a4bf607 (diff) | |
| download | rust-902264b1a6c3d782df3242440cc6c5b866f982d0.tar.gz rust-902264b1a6c3d782df3242440cc6c5b866f982d0.zip | |
allow cfg(bootstrap) to avoid check-cfg warning on stable
| -rw-r--r-- | compiler/rustc_type_ir/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_type_ir/Cargo.toml b/compiler/rustc_type_ir/Cargo.toml index 2750838bbe9..785fa5e386a 100644 --- a/compiler/rustc_type_ir/Cargo.toml +++ b/compiler/rustc_type_ir/Cargo.toml @@ -31,3 +31,6 @@ nightly = [ "rustc_index/nightly", "rustc_ast_ir/nightly" ] + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bootstrap)'] } |
