switch to an allowlist approach
- merge error codes - use attribute name that is incompatible in error message - add test for conditional incompatible attribute - add `linkage` to the allowlist
This commit is contained in:
parent
4d082b77af
commit
c6a166bac2
16 changed files with 185 additions and 65 deletions
|
@ -482,9 +482,9 @@ passes_naked_functions_asm_block =
|
|||
passes_naked_functions_asm_options =
|
||||
asm options unsupported in naked functions: {$unsupported_options}
|
||||
|
||||
passes_naked_functions_codegen_attribute =
|
||||
cannot use additional code generation attributes with `#[naked]`
|
||||
.label = this attribute is incompatible with `#[naked]`
|
||||
passes_naked_functions_incompatible_attribute =
|
||||
attribute incompatible with `#[naked]`
|
||||
.label = the `{$attr}` attribute is incompatible with `#[naked]`
|
||||
.naked_attribute = function marked with `#[naked]` here
|
||||
|
||||
passes_naked_functions_must_use_noreturn =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue