We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86250a6 commit 8b72e4cCopy full SHA for 8b72e4c
src/libsyntax/ast.rs
@@ -1115,8 +1115,11 @@ pub enum ExprKind {
1115
Cast(P<Expr>, P<Ty>),
1116
/// A type ascription (e.g., `42: usize`).
1117
Type(P<Expr>, P<Ty>),
1118
- /// A `let pat = expr` pseudo-expression that only occurs in the scrutinee
+ /// A `let pats = expr` pseudo-expression that only occurs in the scrutinee
1119
/// of `if` / `while` expressions. (e.g., `if let 0 = x { .. }`).
1120
+ ///
1121
+ /// The `Vec<P<Pat>>` is for or-patterns at the top level.
1122
+ /// FIXME(54883): Change this to just `P<Pat>`.
1123
Let(Vec<P<Pat>>, P<Expr>),
1124
/// An `if` block, with an optional `else` block.
1125
///
0 commit comments