rust/compiler
Jubilee 0d68e416a5
Rollup merge of #116400 - estebank:issue-78585, r=WaffleLapkin
Detect missing `=>` after match guard during parsing

```
error: expected one of `,`, `:`, or `}`, found `.`
  --> $DIR/missing-fat-arrow.rs:25:14
   |
LL |         Some(a) if a.value == b {
   |                               - while parsing this struct
LL |             a.value = 1;
   |             -^ expected one of `,`, `:`, or `}`
   |             |
   |             while parsing this struct field
   |
help: try naming a field
   |
LL |             a: a.value = 1;
   |             ++
help: you might have meant to start a match arm after the match guard
   |
LL |         Some(a) if a.value == b => {
   |                                 ++
```

Fix #78585.
2023-10-06 16:37:47 -07:00
..
rustc
rustc_abi Remove unnecessary features from rustc_abi 2023-10-04 11:43:57 +02:00
rustc_arena Remove the TypedArena::alloc_from_iter specialization. 2023-10-03 18:12:08 +11:00
rustc_ast Rollup merge of #116223 - catandcoder:master, r=cjgillot 2023-10-05 00:56:29 -07:00
rustc_ast_lowering Rollup merge of #116431 - estebank:issue-80476, r=compiler-errors 2023-10-05 00:56:30 -07:00
rustc_ast_passes Rollup merge of #116393 - compiler-errors:auto-bad, r=WaffleLapkin 2023-10-04 05:02:07 +02:00
rustc_ast_pretty
rustc_attr Factor out insert_or_error. 2023-10-06 14:57:09 +11:00
rustc_baked_icu_data
rustc_borrowck Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_builtin_macros Factor out the two entry_point_type functions. 2023-10-01 20:45:09 +11:00
rustc_codegen_cranelift Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
rustc_codegen_gcc Auto merge of #102099 - InnovativeInventor:re-cold-land, r=nikic 2023-10-02 22:02:12 +00:00
rustc_codegen_llvm Rollup merge of #116223 - catandcoder:master, r=cjgillot 2023-10-05 00:56:29 -07:00
rustc_codegen_ssa Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
rustc_const_eval Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
rustc_data_structures
rustc_driver
rustc_driver_impl
rustc_error_codes Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_error_messages
rustc_errors Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
rustc_expand
rustc_feature Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrum 2023-10-01 05:56:47 +00:00
rustc_fluent_macro Factor out common token generation in fluent_messages. 2023-10-02 16:47:10 +11:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrum 2023-10-01 05:56:47 +00:00
rustc_hir_analysis Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_incremental
rustc_index
rustc_infer Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #116421 - Urgau:inter-mut-invalid_ref_casting, r=oli-obk 2023-10-06 06:23:48 +02:00
rustc_lint_defs Remove rustc_lint_defs::lint_array 2023-09-28 23:01:25 +02:00
rustc_llvm Remove unused features from rustc_llvm. 2023-10-03 15:54:44 +11:00
rustc_log Fix a comment. 2023-10-02 16:47:11 +11:00
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
rustc_mir_build Auto merge of #116427 - cjgillot:no-internal, r=oli-obk 2023-10-05 09:59:14 +00:00
rustc_mir_dataflow have better explanation for relate_types 2023-10-02 23:39:45 +03:00
rustc_mir_transform move subtyper change reveal_all 2023-10-05 18:56:30 +03:00
rustc_monomorphize Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk 2023-10-06 16:37:46 -07:00
rustc_parse Rollup merge of #116400 - estebank:issue-78585, r=WaffleLapkin 2023-10-06 16:37:47 -07:00
rustc_parse_format
rustc_passes Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Remove unneeded dependency. 2023-10-06 14:57:09 +11:00
rustc_query_system Rollup merge of #115863 - chenyukang:yukang-add-message-tidy-check, r=davidtwco 2023-10-03 12:24:11 +02:00
rustc_resolve Rollup merge of #115863 - chenyukang:yukang-add-message-tidy-check, r=davidtwco 2023-10-03 12:24:11 +02:00
rustc_serialize
rustc_session Remove unused FileName::CfgSpec. 2023-10-06 14:57:09 +11:00
rustc_smir Remove unnecessary pub. 2023-10-06 14:59:11 +11:00
rustc_span Rollup merge of #116474 - nnethercote:rustc_assorted, r=spastorino 2023-10-06 21:17:50 +02:00
rustc_symbol_mangling
rustc_target Auto merge of #116269 - Veykril:rustc-abi, r=WaffleLapkin 2023-10-06 00:03:56 +00:00
rustc_trait_selection Auto merge of #114811 - estebank:impl-ambiguity, r=wesleywiser 2023-10-06 18:44:32 +00:00
rustc_traits
rustc_transmute Remove the MaybeTransmutableQuery<&'l Dfa<...>, C> impl. 2023-10-06 11:25:32 +11:00
rustc_ty_utils Auto merge of #116269 - Veykril:rustc-abi, r=WaffleLapkin 2023-10-06 00:03:56 +00:00
rustc_type_ir
stable_mir add span to statements 2023-10-05 11:15:34 +03:00