Fix error message typo for pure asm without outputs
This commit is contained in:
parent
ccffcafd55
commit
e9fb7bada1
5 changed files with 7 additions and 7 deletions
|
@ -273,7 +273,7 @@ fn parse_args<'a>(
|
|||
if args.options.contains(ast::InlineAsmOptions::PURE) && !have_real_output {
|
||||
ecx.struct_span_err(
|
||||
args.options_spans.clone(),
|
||||
"asm with `pure` option must have at least one output",
|
||||
"asm with the `pure` option must have at least one output",
|
||||
)
|
||||
.emit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue