rustc_builtin_macros::util

Function parse_expr

Source
pub(crate) 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.