Rollup merge of #129421 - jdonszelmann:naked-repr-align-functions, r=workingjubilee,compiler-errors
add repr to the allowlist for naked functions Fixes #129412 (combining unstable features #90957 (`#![feature(naked_functions)]`) and #82232 (`#![feature(fn_align)]`)
This commit is contained in:
commit
99453cea9d
4 changed files with 146 additions and 0 deletions
|
@ -517,6 +517,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