mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 05:59:39 +00:00
rustc_parse: Remove optimization for 0-length streams in `collect_tokens` The optimization conflates empty token streams with unknown token stream, which is at least suspicious, and doesn't affect performance because 0-length token streams are very rare. r? `@Aaron1011`