add error message when #[naked]
is used with #[test]
This commit is contained in:
parent
7e6c083873
commit
4d082b77af
7 changed files with 112 additions and 0 deletions
|
@ -216,6 +216,11 @@ builtin_macros_multiple_defaults = multiple declared defaults
|
|||
.note = only one variant can be default
|
||||
.suggestion = make `{$ident}` default
|
||||
|
||||
builtin_macros_naked_functions_testing_attribute =
|
||||
cannot use `#[naked]` with testing attributes
|
||||
.label = function marked with testing attribute here
|
||||
.naked_attribute = `#[naked]` is incompatible with testing attributes
|
||||
|
||||
builtin_macros_no_default_variant = no default declared
|
||||
.help = make a unit variant default by placing `#[default]` above it
|
||||
.suggestion = make `{$ident}` default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue