diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 4f2fccd20e5f..b5a432b9d475 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1115,8 +1115,11 @@ pub enum ExprKind { Cast(P, P), /// A type ascription (e.g., `42: usize`). Type(P, P), - /// A `let pat = expr` pseudo-expression that only occurs in the scrutinee + /// A `let pats = expr` pseudo-expression that only occurs in the scrutinee /// of `if` / `while` expressions. (e.g., `if let 0 = x { .. }`). + /// + /// The `Vec>` is for or-patterns at the top level. + /// FIXME(54883): Change this to just `P`. Let(Vec>, P), /// An `if` block, with an optional `else` block. ///