[][src]Function rustc_parse::parse_in

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>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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