diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-05 10:55:45 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-08 16:03:41 +1100 |
| commit | 1b6c8e7533ae387ed320fc55a45dee95acc311ee (patch) | |
| tree | d9fe7650f6006cf7068e969b3eac8389c0245183 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | 3ce34f42e160d7e63132c7e3994861bb876eb943 (diff) | |
| download | rust-1b6c8e7533ae387ed320fc55a45dee95acc311ee.tar.gz rust-1b6c8e7533ae387ed320fc55a45dee95acc311ee.zip | |
Remove a third `DiagnosticBuilder::emit_without_consuming` call.
It's not clear why this was here, because the created error is returned as a normal error anyway. Nor is it clear why removing the call works. The change doesn't affect any tests; `tests/ui/parser/issues/issue-102182-impl-trait-recover.rs` looks like the only test that could have been affected.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
