summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2021-09-06Accept `m!{ .. }.method()` and `m!{ .. }?` statements.Mara Bos-11/+14
2021-09-05Change more x64 size checks to not apply to x32.Harald van Dijk-1/+1
2021-09-05Rollup merge of #88257 - estebank:invalid-attr-error, r=oli-obkMara Bos-21/+119
2021-09-04Use verbose suggestions and only match if the + is seen before a numeric literalTheodore Luo Wang-4/+3
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-02Provide more context on incorrect inner attributeEsteban Kuber-21/+119
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-2/+1
2021-09-01Undo debug statementsTheodore Luo Wang-14/+1
2021-09-01Update formattingTheodore Luo Wang-1/+1
2021-09-01Add checks for a block before a unary plus. Fix failing testsTheodore Luo Wang-8/+25
2021-08-31Apply formattingTheodore Luo Wang-1/+6
2021-08-31Improve error checking on unary plusTheodore Luo Wang-0/+12
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-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