Skip to content

Commit

Permalink
check_attr: treat cfg_attr like cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Aug 6, 2024
1 parent fdb64b9 commit 97cbc20
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 @@ -250,6 +250,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
| sym::deny
| sym::forbid
| sym::cfg
| sym::cfg_attr
// need to be fixed
| sym::cfi_encoding // FIXME(cfi_encoding)
| sym::may_dangle // FIXME(dropck_eyepatch)
Expand Down

0 comments on commit 97cbc20

Please sign in to comment.