about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-27/+83
2023-11-15Re-format code with new rustfmtMark Rousskov-10/+12
2023-11-15discard invalid spans in external blocksbohan-2/+4
2023-11-14Fix some typoscui fliter-1/+1
2023-11-14Detect more `=>` typosEsteban Küber-9/+10
2023-11-14Recover `dyn` and `impl` after `for<...>`Michael Goulet-3/+57
2023-11-13Auto merge of #117770 - sjwang05:issue-117766, r=estebank,TaKO8Kibors-20/+61
2023-11-12Fix `is_keyword_ahead` visibilitysjwang05-1/+1
2023-11-11Move unclosed delim errors to separate functionsjwang05-53/+58
2023-11-10Correctly handle while-let-chainssjwang05-2/+2
2023-11-09Catch an edge casesjwang05-1/+5
2023-11-09Catch stray { in let-chainssjwang05-1/+33
2023-11-09Suggest fix for ; within let-chainssjwang05-4/+20
2023-11-08Rollup merge of #117282 - clubby789:recover-wrong-function-header, r=TaKO8KiGuillaume Gomez-3/+37
2023-11-07Auto merge of #117297 - clubby789:fn-trait-missing-paren, r=TaKO8Kibors-0/+40
2023-11-04fmtDinu Blanovschi-3/+1
2023-11-04feat(hir): Store the `Span` of the `move` keywordDinu Blanovschi-1/+4
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-10/+10
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-10/+10
2023-11-01Rollup merge of #117298 - clubby789:fn-missing-params, r=petrochenkovMatthias Krüger-0/+18
2023-11-01Auto merge of #117289 - estebank:issue-72298, r=cjgillotbors-1/+33
2023-11-01Give a better diagnostic for missing parens in Fn* boundsclubby789-0/+40
2023-11-01Recover from missing param list in function definitionsclubby789-0/+18
2023-11-01Stabilize C string literalsJohn Millikin-3/+0
2023-10-31Rollup merge of #116712 - estebank:issue-116252, r=petrochenkovMatthias Krüger-27/+63
2023-10-30Talk about `gen fn` in diagnostics about `gen fn`Oli Scherer-3/+3
2023-10-30When encountering unclosed delimiters during parsing, check for diff markersEsteban Küber-27/+63
2023-10-30Account for `ref` and `mut` in the wrong place for pattern ident renamingEsteban Küber-1/+33
2023-10-29Auto merge of #116889 - MU001999:master, r=petrochenkovbors-0/+2
2023-10-29Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errorsbors-13/+51
2023-10-28restore snapshot when parse_param_generalMu001999-0/+2
2023-10-27Recover from incorrectly ordered/duplicated function keywordsclubby789-3/+37
2023-10-27Rollup merge of #117212 - clubby789:fix-ternary-recover, r=compiler-errorsMatthias Krüger-13/+13
2023-10-27Handle `move` generatorsOli Scherer-11/+8
2023-10-27Feature gate `gen` blocks, even in 2024 editionOli Scherer-1/+2
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-18/+14
2023-10-26Recover ternary expression as errorclubby789-9/+11
2023-10-26Properly restore snapshot when failing to recover parsing ternaryclubby789-4/+2
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-2/+46
2023-10-25Avoid unbounded O(n^2) when parsing nested type argsEsteban Küber-6/+25
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-20Move where doc comment meant as comment checkEsteban Küber-18/+21
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-136/+164
2023-10-13Auto merge of #116645 - estebank:issue-116608, r=oli-obkbors-3/+74
2023-10-13Format all the let chains in compilerMichael Goulet-136/+164
2023-10-12Detect ruby-style closure in parserEsteban Küber-3/+74
2023-10-12Reorder an expression to improve readability.Nicholas Nethercote-12/+7
2023-10-12Rename `Token::is_op` as `Token::is_punct`.Nicholas Nethercote-3/+6
2023-10-06Rollup merge of #116400 - estebank:issue-78585, r=WaffleLapkinJubilee-19/+85
2023-10-04Point to where missing return type should goMichael Goulet-1/+1