feat: add label to span
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user