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))
|
||||
)]
|
||||
SingleWhenClause {
|
||||
#[label]
|
||||
#[label("use let")]
|
||||
location: Span,
|
||||
sample: UntypedExpr,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue