about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-6/+15
2023-12-19Add additional tests and update existing testsEric Holk-1/+2
2023-12-19Plumb awaitness of for loopsEric Holk-6/+14
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-32/+34
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-12/+10
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-12Rollup merge of #118891 - compiler-errors:async-gen-blocks, r=eholkJubilee-9/+18
2023-12-12Actually parse async gen blocks correctlyMichael Goulet-9/+18
2023-12-12Don't gate the feature twiceNadrieril-1/+4
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-1/+6
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-1/+1
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-21/+34
2023-12-08Support async gen fnMichael Goulet-14/+22
2023-12-08coro_kind -> coroutine_kindMichael Goulet-1/+1
2023-12-08Implement `async gen` blocksMichael Goulet-9/+14
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-107/+135
2023-12-04Option<CoroutineKind>Eric Holk-6/+4
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-4/+6
2023-12-03Parse a pattern with no armNadrieril-107/+135
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-9/+9
2023-11-29review comment: rework `parse_for_head` to reduce branchingEsteban Küber-36/+42
2023-11-29Change how `for (x in foo) {}` is handledEsteban Küber-20/+53
2023-11-29Account for `(pat if expr) => {}`Esteban Küber-39/+86
2023-11-29More accurate span for unnecessary parens suggestionEsteban Küber-1/+4
2023-11-28Suggest `let` or `==` on typo'd let-chainEsteban Küber-8/+40
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-6/+6
2023-11-17Auto merge of #114292 - estebank:issue-71039, r=b-naberbors-2/+2
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+2
2023-11-14Detect more `=>` typosEsteban Küber-9/+10
2023-11-09Suggest fix for ; within let-chainssjwang05-4/+20
2023-11-04fmtDinu Blanovschi-3/+1
2023-11-04feat(hir): Store the `Span` of the `move` keywordDinu Blanovschi-1/+4
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-2/+2
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-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-0/+18
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-30/+34
2023-10-13Auto merge of #116645 - estebank:issue-116608, r=oli-obkbors-3/+15
2023-10-13Format all the let chains in compilerMichael Goulet-30/+34
2023-10-12Detect ruby-style closure in parserEsteban Küber-3/+15
2023-10-12Rename `Token::is_op` as `Token::is_punct`.Nicholas Nethercote-1/+1
2023-10-04review commentsEsteban Küber-3/+2
2023-10-03Detect missing `=>` after match guard during parsingEsteban Küber-19/+74
2023-09-13Address review commentsMatthew Jasper-4/+13
2023-09-11Reduce double errors for invalid let expressionsMatthew Jasper-3/+2
2023-09-11Move let expression checking to parsingMatthew Jasper-121/+248
2023-08-28Allow stuct literals in if let guardsMatthew Jasper-3/+1
2023-08-19Fix a stack overflow with long else if chainsJohn Kåre Alsaker-1/+2