rustc_expand::mbe::metavar_expr

Function parse_depth

source
fn parse_depth<'psess>(
    iter: &mut RefTokenTreeCursor<'_>,
    psess: &'psess ParseSess,
    span: Span,
) -> PResult<'psess, usize>
Expand description

Parses the depth used by index(depth) and len(depth).