about summary refs log tree commit diff
path: root/tests/ui/codegen/overflow-during-mono.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-12 13:20:24 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-12 13:35:24 +1000
commit100f3fd133d928e9c86cff202fa32e5e4d0ce6c7 (patch)
treeac48e5de185f654e0be0900b8bbadae3dd982269 /tests/ui/codegen/overflow-during-mono.rs
parentebe1305b1e0bb32913b309ce65bd97106532ad6a (diff)
downloadrust-100f3fd133d928e9c86cff202fa32e5e4d0ce6c7.tar.gz
rust-100f3fd133d928e9c86cff202fa32e5e4d0ce6c7.zip
Add a new special case to `Parser::look_ahead`.
This new special case is simpler than the old special case because it
only is used when `dist == 1`. But that's still enough to cover ~98% of
cases. This results in equivalent performance to the old special case,
and identical behaviour as the general case.
Diffstat (limited to 'tests/ui/codegen/overflow-during-mono.rs')
0 files changed, 0 insertions, 0 deletions