about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
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-12Use smaller spans for some structured suggestionsEsteban Kuber-39/+46
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
2021-05-18Stabilize extended_key_value_attributesJoshua Nelson-13/+0
2021-05-16Implement Anonymous{Struct, Union} in the ASTjedel1043-13/+32
2021-05-11Recover from invalid `struct` item syntaxEsteban Küber-1/+45
2021-05-11Re-add support for parsing (and pretty-printing) inner-attributes within body...Felix S. Klock II-1/+2
2021-05-10Auto merge of #85104 - hi-rustin:rustin-patch-typo, r=jonas-schievinkbors-1/+1
2021-05-09Fix typohi-rustin-1/+1
2021-05-08Rename `Parser::span_fatal_err` -> `Parser::span_err`Joshua Nelson-8/+4
2021-05-08Rollup merge of #76808 - LeSeulArtichaut:diagnose-functions-struct, r=jackh726Dylan DPC-30/+58
2021-05-07Also take unions and enums into accountLeSeulArtichaut-14/+19
2021-05-07Improve diagnostics for functions in `struct` definitionsLeSeulArtichaut-19/+42
2021-05-07Rollup merge of #84896 - estebank:issue-84772, r=jackh726Dylan DPC-3/+36
2021-05-03Handle incorrect placement of parentheses in trait bounds more gracefullyEsteban Küber-3/+36
2021-05-03parser: Remove support for inner attributes on non-block expressionsVadim Petrochenkov-10/+4