Reword purpose description of noreturn in naked function
This commit is contained in:
parent
b657cb5577
commit
f793b696c8
2 changed files with 6 additions and 6 deletions
|
@ -289,7 +289,7 @@ impl<'tcx> CheckInlineAssembly<'tcx> {
|
|||
.span_suggestion(
|
||||
last_span,
|
||||
"consider specifying that the asm block is responsible \
|
||||
for returning, if desired",
|
||||
for returning from the function",
|
||||
String::from(", options(noreturn)"),
|
||||
Applicability::MachineApplicable,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue