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).