Update test.rs

This commit is contained in:
Shunsuke Shibayama 2023-11-12 13:20:07 +09:00
parent 540027282a
commit 1b19d8098a
3 changed files with 5 additions and 2 deletions

View file

@ -1285,7 +1285,7 @@ impl Parser {
debug_exit_info!(self);
Ok(ArgKind::Kw(KwArg::new(kw, None, expr)))
} else {
let expr: Expr = self
let expr = self
.try_reduce_expr(false, in_type_args, false, false)
.map_err(|_| {
if let Some(err) = self.errs.last_mut() {