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 b840eb1 commit ccb40bcCopy full SHA for ccb40bc
src/libsyntax/ast.rs
@@ -1134,8 +1134,11 @@ pub enum ExprKind {
1134
Cast(P<Expr>, P<Ty>),
1135
/// A type ascription (e.g., `42: usize`).
1136
Type(P<Expr>, P<Ty>),
1137
- /// A `let pat = expr` pseudo-expression that only occurs in the scrutinee
+ /// A `let pats = expr` pseudo-expression that only occurs in the scrutinee
1138
/// of `if` / `while` expressions. (e.g., `if let 0 = x { .. }`).
1139
+ ///
1140
+ /// The `Vec<P<Pat>>` is for or-patterns at the top level.
1141
+ /// FIXME(54883): Change this to just `P<Pat>`.
1142
Let(Vec<P<Pat>>, P<Expr>),
1143
/// An `if` block, with an optional `else` block.
1144
///
0 commit comments