feat: add label to span
This commit is contained in:
parent
a485406e3d
commit
ba05f1f070
|
@ -1062,7 +1062,7 @@ pub enum Warning {
|
||||||
help("Prefer using a {} binding like so...\n\n{}", "let".purple(), format_suggestion(sample))
|
help("Prefer using a {} binding like so...\n\n{}", "let".purple(), format_suggestion(sample))
|
||||||
)]
|
)]
|
||||||
SingleWhenClause {
|
SingleWhenClause {
|
||||||
#[label]
|
#[label("use let")]
|
||||||
location: Span,
|
location: Span,
|
||||||
sample: UntypedExpr,
|
sample: UntypedExpr,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue