about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-13 13:17:14 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-13 15:55:40 +1000
commitcf2dfb2ced7862077ceff468c679f44d1e6d56cc (patch)
tree4e526c30d522e62af2b63fe0db5ca1a2f0ba2711 /compiler/rustc_pattern_analysis/src/errors.rs
parent69f6145ad82e931f730cca81f12a369d894121a6 (diff)
downloadrust-cf2dfb2ced7862077ceff468c679f44d1e6d56cc.tar.gz
rust-cf2dfb2ced7862077ceff468c679f44d1e6d56cc.zip
Add a test for `Parser::debug_lookahead`.
That method is currently badly broken, and the test output reflects
this. The obtained tokens list is always empty, except in the case where
we go two `bump`s past the final token, whereupon it will produce as
many `Eof` tokens as asked for.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions