1
Fork 0

Reword purpose description of noreturn in naked function

This commit is contained in:
jam1garner 2022-04-01 11:28:45 -04:00
parent b657cb5577
commit f793b696c8
2 changed files with 6 additions and 6 deletions

View file

@ -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,
)