Rollup merge of #119704 - chenyukang:yukang-fix-let_underscore, r=Nilstrieb
Fix two variable binding issues in lint let_underscore Fixes #119696 Fixes #119697
This commit is contained in:
commit
5efa69d979
7 changed files with 110 additions and 2 deletions
|
@ -1997,7 +1997,7 @@ pub enum LocalSource {
|
|||
AsyncFn,
|
||||
/// A desugared `<expr>.await`.
|
||||
AwaitDesugar,
|
||||
/// A desugared `expr = expr`, where the LHS is a tuple, struct or array.
|
||||
/// A desugared `expr = expr`, where the LHS is a tuple, struct, array or underscore expression.
|
||||
/// The span is that of the `=` sign.
|
||||
AssignDesugar(Span),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue