From ac54265b137b307e5a369b9e8c78126784b8427b Mon Sep 17 00:00:00 2001 From: Camelid Date: Mon, 15 Jun 2020 11:57:49 -0700 Subject: [PATCH] Use `span_label` --- src/librustc_builtin_macros/asm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_builtin_macros/asm.rs b/src/librustc_builtin_macros/asm.rs index 922a06bae93..474c54c998d 100644 --- a/src/librustc_builtin_macros/asm.rs +++ b/src/librustc_builtin_macros/asm.rs @@ -297,7 +297,7 @@ fn err_duplicate_option<'a>(p: &mut Parser<'a>, span: Span) { } else { p.sess.span_diagnostic.struct_span_err(span, "this option was already provided") }; - err.span_help(span, "remove this option"); + err.span_label(span, "remove this option"); err.emit(); }