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 21, 2021
1 parent 65cd477 commit c15da14
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 @@ -766,12 +766,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 c15da14

Please sign in to comment.