Recover more expressions in patterns
This commit is contained in:
@@ -2597,8 +2597,6 @@ pub(crate) struct UnexpectedExpressionInPattern {
|
||||
pub span: Span,
|
||||
/// Was a `RangePatternBound` expected?
|
||||
pub is_bound: bool,
|
||||
/// Was the unexpected expression a `MethodCallExpression`?
|
||||
pub is_method_call: bool,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
||||
Reference in New Issue
Block a user