mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
50d3c2a3cb
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`