Skip to content

Commit

Permalink
Make rustc_cfg_placeholder compatible with naked
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Dec 12, 2024
1 parent e6e83fb commit 7a9565b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_passes/src/check_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
// conditional compilation
sym::cfg,
sym::cfg_attr,
sym::rustc_cfg_placeholder,
// testing (allowed here so better errors can be generated in `rustc_builtin_macros::test`)
sym::test,
sym::ignore,
Expand Down

0 comments on commit 7a9565b

Please sign in to comment.