Function rustc_parse::parse_in

source ·
pub fn parse_in<'a, T>(
sess: &'a ParseSess,
tts: TokenStream,
name: &'static str,
f: impl FnMut(&mut Parser<'a>) -> PResult<'a, T>
) -> PResult<'a, T>
Expand description

Runs the given subparser f on the tokens of the given attr’s item.