rust/compiler/rustc_parse/src/parser
Dylan DPC a90c5a3c69
Rollup merge of #97823 - compiler-errors:missing-comma-match-arm, r=estebank
Recover missing comma after match arm

If we're missing a comma after a match arm expression, try parsing another pattern and a following `=>`. If we find both of those, then recover by suggesting to insert a `,`.

Fixes #80112
2022-06-08 07:37:32 +02:00
..
attr_wrapper.rs ast: Introduce some traits to get AST node properties generically 2022-05-11 12:43:27 +03:00
attr.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
diagnostics.rs Rollup merge of #97587 - pvdrz:maybe-recover-from-bad-qpath-stage-2, r=davidtwco 2022-06-02 11:13:24 +02:00
expr.rs Recover missing comma after match arm 2022-06-07 02:19:51 -07:00
generics.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
item.rs recover import instead of use in item 2022-06-07 19:14:03 -07:00
mod.rs Merge crate and restricted visibilities 2022-05-21 17:02:55 -04:00
nonterminal.rs ast: Introduce some traits to get AST node properties generically 2022-05-11 12:43:27 +03:00
pat.rs Move condition out of maybe_recover_unexpected_comma. 2022-05-19 16:53:23 +10:00
path.rs rustc_ast: Harmonize delimiter naming with proc_macro::Delimiter 2022-04-28 10:04:29 +03:00
stmt.rs Rollup merge of #97166 - nnethercote:move-conditions-out, r=estebank 2022-06-02 06:44:27 +09:00
ty.rs Rollup merge of #97166 - nnethercote:move-conditions-out, r=estebank 2022-06-02 06:44:27 +09:00