Skip to content

Commit cd613fd

Browse files
committed
Make rustc_cfg_placeholder compatible with naked
1 parent 577246b commit cd613fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_passes/src/check_attr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
523523
// conditional compilation
524524
sym::cfg,
525525
sym::cfg_attr,
526+
sym::rustc_cfg_placeholder
526527
// testing (allowed here so better errors can be generated in `rustc_builtin_macros::test`)
527528
sym::test,
528529
sym::ignore,

0 commit comments

Comments
 (0)