rust-analyzer/crates/proc_macro_srv
Kevin Mehall 62f594b390 Refactor TokenStream to hold Vec<TokenTree> instead of tt::Subtree
`TokenStream` assumes that its subtree's delimeter is `None`, and this
should be encoded in the type system instead of having a delimiter field
that is mostly ignored.

`tt::Subtree` is just `pub delimiter: Option<Delimiter>, pub
token_trees: Vec<TokenTree>`, so a Subtree that is statically guaranteed
not to have a delimiter is just Vec<TokenTree>.
2021-03-06 09:48:30 -07:00
..
src Refactor TokenStream to hold Vec<TokenTree> instead of tt::Subtree 2021-03-06 09:48:30 -07:00
Cargo.toml Bump cargo_metadata 2021-03-02 14:27:29 +02:00