Function rustc_expand::base::parse_expr
source · pub fn parse_expr(p: &mut Parser<'_>) -> Result<P<Expr>, ErrorGuaranteed>
Expand description
Parse an expression. On error, emit it, advancing to Eof
, and return Err
.
pub fn parse_expr(p: &mut Parser<'_>) -> Result<P<Expr>, ErrorGuaranteed>
Parse an expression. On error, emit it, advancing to Eof
, and return Err
.