Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ac54265

Browse files
committed
Use span_label
1 parent b94b7e7 commit ac54265

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_builtin_macros

1 file changed

+1
-1
lines changed

src/librustc_builtin_macros/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ fn err_duplicate_option<'a>(p: &mut Parser<'a>, span: Span) {
297297
} else {
298298
p.sess.span_diagnostic.struct_span_err(span, "this option was already provided")
299299
};
300-
err.span_help(span, "remove this option");
300+
err.span_label(span, "remove this option");
301301
err.emit();
302302
}
303303

0 commit comments

Comments
 (0)