Move condition out of maybe_recover_from_bad_qpath
.
This commit is contained in:
parent
4c5f6e6277
commit
1b422451ae
5 changed files with 13 additions and 14 deletions
|
@ -180,7 +180,7 @@ impl<'a> Parser<'a> {
|
|||
} else {
|
||||
// Since none of the above applied, this is an expression statement macro.
|
||||
let e = self.mk_expr(lo.to(hi), ExprKind::MacCall(mac), AttrVec::new());
|
||||
let e = self.maybe_recover_from_bad_qpath(e, true)?;
|
||||
let e = self.maybe_recover_from_bad_qpath(e)?;
|
||||
let e = self.parse_dot_or_call_expr_with(e, lo, attrs.into())?;
|
||||
let e = self.parse_assoc_expr_with(0, LhsExpr::AlreadyParsed(e))?;
|
||||
StmtKind::Expr(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue