[−][src]Function rustc_parse::parser::make_token_stream
pub(in parser) fn make_token_stream(
tokens: impl Iterator<Item = (Token, Spacing)>
) -> TokenStream
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.