1
Fork 0

Fix error message typo for pure asm without outputs

This commit is contained in:
Amanieu d'Antras 2021-07-29 11:15:50 +02:00
parent ccffcafd55
commit e9fb7bada1
5 changed files with 7 additions and 7 deletions

View file

@ -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();
}