mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +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`