summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2021-09-16Re-add 71a7f8f1884b2c83eeb4a545eef16df1f2ea6476 post-revert.Felix S. Klock II-1/+4
2021-09-16Revert "Implement Anonymous{Struct, Union} in the AST"Felix S. Klock II-35/+13
2021-09-04Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiserbors-4/+16
2021-09-03Auto merge of #88597 - cjgillot:lower-global, r=petrochenkovbors-2/+1
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-4/+16
2021-09-03Auto merge of #88386 - estebank:unmatched-delims, r=jackh726bors-3/+18
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-2/+1
2021-09-01Auto merge of #87688 - camsteffen:let-else, r=cjgillotbors-10/+68
2021-08-31Rollup merge of #88450 - notriddle:notriddle/maybe_whole_expr, r=cjgillotMara Bos-2/+2
2021-08-30Handle let-else initializer edge case errorsCameron Steffen-0/+46
2021-08-30Add let-else to ASTCameron Steffen-10/+22
2021-08-29Auto merge of #88262 - klensy:pprust-cow, r=nagisabors-2/+2
2021-08-28fix(rustc_parse): incorrect span information for macro path exprMichael Howell-1/+1
2021-08-28fix(rustc_parse): incorrect span information for macro block exprMichael Howell-1/+1
2021-08-27Point at unclosed delimiters as part of the primary MultiSpanEsteban Kuber-3/+18
2021-08-27Introduce `~const`Deadbeef-26/+20
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-19/+18
2021-08-25Convert some functions to return Cow<'static,str> instead of String to reduce...klensy-2/+2
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-9/+9
2021-08-18Remove box syntax from rustc_parseest31-7/+7
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-1/+1
2021-08-08Auto merge of #87235 - poliorcetics:issue-87217-fn-quali-order, r=nagisabors-1/+34
2021-08-04Auto merge of #87026 - FabianWolff:issue-86948, r=estebankbors-4/+51
2021-08-03Rollup merge of #87646 - JohnTitor:fix-parser-ice, r=oli-obkYuki Okushi-3/+1
2021-08-02Better message for invalid keyword placement in fnAlexis Bourget-1/+34
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-2/+1
2021-07-31Require parentheses to avoid confusions around labeled break and loop express...Fabian Wolff-4/+51
2021-07-31Fix a parser ICE on invalid `fn` bodyYuki Okushi-3/+1
2021-07-30Use multispan suggestions more oftenEsteban Küber-10/+8
2021-07-25clippy::filter_map_identityMatthias Krüger-2/+1
2021-07-24fix code to suggest `;` on parse errorElliot Bobrow-57/+57
2021-07-18Auto merge of #87242 - JohnTitor:rollup-t9rmwpo, r=JohnTitorbors-1/+8
2021-07-18Auto merge of #87071 - inquisitivecrystal:inclusive-range, r=estebankbors-7/+42
2021-07-18Rollup merge of #86814 - Aaron1011:inner-doc-recover, r=estebankYuki Okushi-1/+8
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-15/+77
2021-07-11Give a helpful error for the mistake `..==`Aris Merchant-7/+42
2021-07-11Auto merge of #83918 - workingjubilee:stable-rangefrom-pat, r=joshtriplettbors-2/+0
2021-07-08Rollup merge of #86932 - rylev:fix-ice-86895, r=estebankYuki Okushi-1/+7
2021-07-07Fix ICE when misplaced visibility cannot be properly parsedRyan Levick-1/+7
2021-07-02Recover from a misplaced inner doc commentAaron Hill-1/+8
2021-07-02Recover from `&dyn mut ...` parse errorsFabian Wolff-1/+21
2021-06-22Auto merge of #85193 - pnkfelix:readd-support-for-inner-attrs-within-match, r...bors-1/+2
2021-06-17Use `AttrVec` for `Arm`, `FieldDef`, and `Variant`Yuki Okushi-5/+5
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-28/+28
2021-06-07Rollup merge of #86010 - FabianWolff:ICE-parser, r=varkorGuillaume Gomez-38/+47
2021-06-06parser: Ensure that all nonterminals have tokens after parsingVadim Petrochenkov-30/+33
2021-06-05Fix handling of unmatched angle brackets in parserFabian Wolff-37/+47
2021-06-04Remove incorrect assertion in type parsing codeFabian Wolff-1/+0
2021-05-30Don't drop `PResult` without handling the errorLeSeulArtichaut-1/+4