use suggestion_short
for incorrect semicolon diagnostic
This commit is contained in:
parent
93a427e3ca
commit
2a0496cbc8
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ struct BadQPathStage2 {
|
||||||
#[error(slug = "parser-incorrect-semicolon")]
|
#[error(slug = "parser-incorrect-semicolon")]
|
||||||
struct IncorrectSemicolon<'a> {
|
struct IncorrectSemicolon<'a> {
|
||||||
#[primary_span]
|
#[primary_span]
|
||||||
#[suggestion(applicability = "machine-applicable")]
|
#[suggestion_short(applicability = "machine-applicable")]
|
||||||
span: Span,
|
span: Span,
|
||||||
#[help]
|
#[help]
|
||||||
opt_help: Option<()>,
|
opt_help: Option<()>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue