rust/compiler/rustc_parse
Nicholas Nethercote 3ce34f42e1 Remove a second DiagnosticBuilder::emit_without_consuming call.
Instead of taking `seq` as a mutable reference,
`maybe_recover_struct_lit_bad_delims` now consumes `seq` on the recovery
path, and returns `seq` unchanged on the non-recovery path. The commit
also combines an `if` and a `match` to merge two identical paths.

Also change `recover_seq_parse_error` so it receives a `PErr` instead of
a `PResult`, because all the call sites now handle the `Ok`/`Err`
distinction themselves.
2024-01-08 16:01:22 +11:00
..
src Remove a second DiagnosticBuilder::emit_without_consuming call. 2024-01-08 16:01:22 +11:00
Cargo.toml Update to bitflags 2 in the compiler 2023-12-30 18:17:28 +01:00
messages.ftl Auto merge of #119569 - matthiaskrgr:rollup-4packja, r=matthiaskrgr 2024-01-04 21:44:14 +00:00