mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
e2e0681e3a
Remove `TrailingToken`. It's used in `Parser::collect_tokens_trailing_token` to decide whether to capture a trailing token. But the callers actually know whether to capture a trailing token, so it's simpler for them to just pass in a bool. Also, the `TrailingToken::Gt` case was weird, because it didn't result in a trailing token being captured. It could have been subsumed by the `TrailingToken::MaybeComma` case, and it effectively is in the new code. r? `@petrochenkov` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |