Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
use unknown instead of unknown binding
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Dec 23, 2021
1 parent 15be4c3 commit 6b481c5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/rslint_parser/src/syntax/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,12 +802,8 @@ fn parse_paren_or_arrow_expr(p: &mut Parser, can_be_arrow: bool) -> ParsedSyntax
.primary(temp.cur_tok().range, "");

#[allow(deprecated)]
SingleTokenParseRecovery::with_error(
EXPR_RECOVERY_SET,
JS_UNKNOWN_BINDING,
err,
)
.recover(&mut temp);
SingleTokenParseRecovery::with_error(EXPR_RECOVERY_SET, JS_UNKNOWN, err)
.recover(&mut temp);
}
}
break;
Expand Down

0 comments on commit 6b481c5

Please sign in to comment.