about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/pat.rs
AgeCommit message (Expand)AuthorLines
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+3
2022-02-28Tweak diagnosticsEsteban Kuber-9/+42
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+3
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-2/+2
2021-11-29review comments: clean upEsteban Kuber-171/+5
2021-11-25When recovering from a `:` in a pattern, use adequate AST patternEsteban Küber-16/+87
2021-11-22Split inline const to two feature gatesGary Guo-2/+2
2021-11-20Fix ICE `#90993`: add missing call to cancelBadel2-1/+1
2021-07-30Use multispan suggestions more oftenEsteban Küber-1/+1
2021-07-18Auto merge of #87071 - inquisitivecrystal:inclusive-range, r=estebankbors-3/+36
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-8/+70
2021-07-11Give a helpful error for the mistake `..==`Aris Merchant-3/+36
2021-07-11Auto merge of #83918 - workingjubilee:stable-rangefrom-pat, r=joshtriplettbors-2/+0
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-16/+7
2021-04-05Allow exclusive range-from patternsJubilee Young-2/+0
2021-03-19stabilize or_patternsmark-54/+19
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-4/+4
2021-03-05use pat<no_top_alt> for patterns in let bindingsmark-62/+122
2021-02-23Rollup merge of #81235 - reese:rw-tuple-diagnostics, r=estebankDylan DPC-1/+1
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-81/+102
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-11/+19
2021-01-29Fix typo in pat.rsIkko Ashimine-1/+1
2021-01-20Improve suggestion for tuple struct pattern matching errors.Reese Williams-1/+1
2020-12-30Implement edition-based macro pat featuremark-7/+0
2020-12-19implement edition-specific :pat behavior for 2015/18mark-3/+14
2020-11-29Fixes #79357 unstable or-pat suggestionsunknown-11/+22
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-4/+0
2020-10-30Add back missing commentsJoshua Nelson-2/+3
2020-10-30Fix even more clippy warningsJoshua Nelson-9/+8
2020-10-22Make inline const work for half open rangesSantiago Pastorino-4/+4
2020-10-22Make inline const work in range patternsSantiago Pastorino-6/+15
2020-10-22Rename parse_const_expr to parse_const_blockSantiago Pastorino-1/+1
2020-10-16Parse inline const patternsSantiago Pastorino-0/+3
2020-10-02Fix span for incorrect pattern field and add labelEsteban Küber-1/+2
2020-08-30mv compiler to compiler/mark-0/+1012