add repr to the allowlist for naked functions, and test that it works
This commit is contained in:
parent
739b1fdb15
commit
c3000ad3ba
2 changed files with 21 additions and 0 deletions
|
@ -516,6 +516,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
|
|||
sym::no_mangle,
|
||||
sym::naked,
|
||||
sym::instruction_set,
|
||||
sym::repr,
|
||||
// code generation
|
||||
sym::cold,
|
||||
sym::target_feature,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue