diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-13 15:53:31 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-07-13 16:42:00 +1000 |
| commit | aa0e8e147588c75fbb6ad158140c890582886027 (patch) | |
| tree | 5ec3bc108f0c720a3f5e14110799a176ae96a9f6 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | cf2dfb2ced7862077ceff468c679f44d1e6d56cc (diff) | |
| download | rust-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/errors.rs')
0 files changed, 0 insertions, 0 deletions
