mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 19:12:50 +00:00
use suggestion_short
for incorrect semicolon diagnostic
This commit is contained in:
parent
93a427e3ca
commit
2a0496cbc8
@ -299,7 +299,7 @@ struct BadQPathStage2 {
|
||||
#[error(slug = "parser-incorrect-semicolon")]
|
||||
struct IncorrectSemicolon<'a> {
|
||||
#[primary_span]
|
||||
#[suggestion(applicability = "machine-applicable")]
|
||||
#[suggestion_short(applicability = "machine-applicable")]
|
||||
span: Span,
|
||||
#[help]
|
||||
opt_help: Option<()>,
|
||||
|
Loading…
Reference in New Issue
Block a user