feat: add label to span

This commit is contained in:
rvcas 2023-01-24 11:31:07 -05:00 committed by Lucas
parent a485406e3d
commit ba05f1f070
1 changed files with 1 additions and 1 deletions

View File

@ -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,
},