# Function rustc_parse::parser::attr_wrapper::make_token_stream

source ·

    fn make_token_stream(
        iter: impl Iterator<Item = (FlatToken, Spacing)>,
        break_last_token: bool
    ) -> AttrTokenStream

Expand description

Converts a flattened iterator of tokens (including open and close delimiter tokens) into a `TokenStream`, creating a `TokenTree::Delimited` for each matching pair of open and close delims.