diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-05 09:55:07 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-08 16:01:22 +1100 |
| commit | 1881055000485527e3ad69e2bc6c9fa247e3f06f (patch) | |
| tree | 28821d8f181d705ed40aa9b2855b03104427ea66 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 6682f243dcb9babd67525bbf9798dca302f60588 (diff) | |
| download | rust-1881055000485527e3ad69e2bc6c9fa247e3f06f.tar.gz rust-1881055000485527e3ad69e2bc6c9fa247e3f06f.zip | |
Remove a `DiagnosticBuilder::emit_without_consuming` call.
In this parsing recovery function, we only need to emit the previously obtained error message and mark `expr` as erroneous in the case where we actually recover.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
