rust/compiler
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
..
rustc
rustc_abi
rustc_arena
rustc_ast Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_ast_lowering
rustc_ast_passes Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_ast_pretty
rustc_attr Use chaining in DiagnosticBuilder construction. 2024-01-08 15:43:07 +11:00
rustc_baked_icu_data
rustc_borrowck Use chaining in DiagnosticBuilder construction. 2024-01-08 15:43:07 +11:00
rustc_builtin_macros Use chaining for DiagnosticBuilder construction and emit. 2024-01-08 15:45:29 +11:00
rustc_codegen_cranelift Use chaining for DiagnosticBuilder construction and emit. 2024-01-08 15:45:29 +11:00
rustc_codegen_gcc
rustc_codegen_llvm Use chaining in DiagnosticBuilder construction. 2024-01-08 15:43:07 +11:00
rustc_codegen_ssa Use chaining for DiagnosticBuilder construction and emit. 2024-01-08 15:45:29 +11:00
rustc_const_eval Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_data_structures Rollup merge of #119591 - Enselic:DestinationPropagation-stable, r=cjgillot 2024-01-06 16:07:47 +01:00
rustc_driver
rustc_driver_impl Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_error_codes
rustc_error_messages
rustc_errors Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_expand Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_feature Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errors 2024-01-05 20:39:51 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_hir_pretty
rustc_hir_typeck Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_incremental
rustc_index Auto merge of #119499 - cjgillot:dtm-opt, r=nnethercote 2024-01-06 11:54:15 +00:00
rustc_index_macros
rustc_infer Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_interface Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_lexer
rustc_lint rustc_span: Optimize syntax context comparisons 2024-01-06 01:25:20 +03:00
rustc_lint_defs Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillot 2024-01-05 19:38:27 +00:00
rustc_llvm
rustc_log
rustc_macros Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_metadata Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_middle Use chaining for DiagnosticBuilder construction and emit. 2024-01-08 15:45:29 +11:00
rustc_mir_build Don't populate yield and resume types after the fact 2024-01-06 18:03:01 +00:00
rustc_mir_dataflow
rustc_mir_transform Auto merge of #119675 - cjgillot:set-no-discriminant, r=tmiasko 2024-01-07 15:34:05 +00:00
rustc_monomorphize
rustc_next_trait_solver
rustc_parse Remove a second DiagnosticBuilder::emit_without_consuming call. 2024-01-08 16:01:22 +11:00
rustc_parse_format
rustc_passes Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_pattern_analysis Reuse ctor_sub_tys when we have one around 2024-01-06 18:03:13 +01:00
rustc_privacy
rustc_query_impl
rustc_query_system Make DiagnosticBuilder::emit consuming. 2024-01-08 15:24:49 +11:00
rustc_resolve Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_serialize
rustc_session Use chaining in DiagnosticBuilder construction. 2024-01-08 15:43:07 +11:00
rustc_smir
rustc_span Auto merge of #119662 - matthiaskrgr:rollup-ehofh5n, r=matthiaskrgr 2024-01-06 15:50:44 +00:00
rustc_symbol_mangling Use chaining in DiagnosticBuilder construction. 2024-01-08 15:43:07 +11:00
rustc_target compiler: update Fuchsia sanitizer support. 2024-01-06 10:06:15 +00:00
rustc_trait_selection Remove all eight DiagnosticBuilder::*_with_code methods. 2024-01-08 16:00:34 +11:00
rustc_traits
rustc_transmute
rustc_ty_utils
rustc_type_ir
stable_mir