compiler: fixup error message for x86-interrupt invalid returns
This commit is contained in:
parent
1045b70304
commit
db33e98540
3 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ ast_passes_abi_must_not_have_parameters_or_return_type=
|
|||
|
||||
ast_passes_abi_must_not_have_return_type=
|
||||
invalid signature for `extern {$abi}` function
|
||||
.note = functions with the "custom" ABI cannot have a return type
|
||||
.note = functions with the {$abi} ABI cannot have a return type
|
||||
.help = remove the return type
|
||||
|
||||
ast_passes_assoc_const_without_body =
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ error: invalid signature for `extern "x86-interrupt"` function
|
|||
LL | extern "x86-interrupt" fn x86_ret() -> u8 {
|
||||
| ^^
|
||||
|
|
||||
= note: functions with the "custom" ABI cannot have a return type
|
||||
= note: functions with the "x86-interrupt" ABI cannot have a return type
|
||||
help: remove the return type
|
||||
--> $DIR/interrupt-invalid-signature.rs:83:40
|
||||
|
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ error: invalid signature for `extern "x86-interrupt"` function
|
|||
LL | extern "x86-interrupt" fn x86_ret() -> u8 {
|
||||
| ^^
|
||||
|
|
||||
= note: functions with the "custom" ABI cannot have a return type
|
||||
= note: functions with the "x86-interrupt" ABI cannot have a return type
|
||||
help: remove the return type
|
||||
--> $DIR/interrupt-invalid-signature.rs:83:40
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue