about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-13 15:53:31 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-13 16:42:00 +1000
commitaa0e8e147588c75fbb6ad158140c890582886027 (patch)
tree5ec3bc108f0c720a3f5e14110799a176ae96a9f6 /compiler/rustc_pattern_analysis/src
parentcf2dfb2ced7862077ceff468c679f44d1e6d56cc (diff)
downloadrust-aa0e8e147588c75fbb6ad158140c890582886027.tar.gz
rust-aa0e8e147588c75fbb6ad158140c890582886027.zip
Fix `DebugParser`.
It currently doesn't work at all. This commit changes it to a simpler
imperative style that produces a valid `tokens` vec.

(An aside: I find `Iterator::scan` to be a pretty wretched function,
that produces code which is very hard to understand. Probably why this
is just one of two uses of it in the entire compiler.)
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions