about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
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
2023-08-18Use `interpolated_or_expr_span` in one suitable place.Nicholas Nethercote-7/+1
2023-08-18Refactor `interpolated_or_expr_span`.Nicholas Nethercote-20/+12
2023-08-04Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31Matthias Krüger-4/+7
2023-08-04Improve spans for indexing expressionsNilstrieb-4/+7
2023-08-03Rollup merge of #114300 - MU001999:fix/turbofish-pat, r=estebankMatthias Krüger-2/+2
2023-08-03Avoid too many expected symbols and reduce `None`sr0cky-3/+3
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-1/+1
2023-08-03Keep the suggestion for wrong arbitrary self typesMu001999-5/+5
2023-08-02Move `TokenCursor::break_last_token` into `Parser`.Nicholas Nethercote-1/+1
2023-07-30Rollup merge of #114256 - Urgau:fix-issue-114180, r=WaffleLapkinMatthias Krüger-1/+1
2023-07-30Fix invalid suggestion for mismatched types in closure argumentsUrgau-1/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-2/+2
2023-07-24Optimize format usageYuri Astrakhan-1/+1
2023-07-22Support interpolated block for try and asyncMichael Goulet-4/+10
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-5/+5
2023-06-27Rollup merge of #112978 - compiler-errors:bad-block-sugg, r=davidtwcoMatthias Krüger-0/+4
2023-06-27Rollup merge of #112518 - chenyukang:yukang-fix-112458, r=davidtwcoMatthias Krüger-2/+8
2023-06-23Add suggestion for bad block fragment errorMichael Goulet-0/+4
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-0/+12
2023-06-15Handle interpolated literal errorsMichael Goulet-6/+3
2023-06-11Detect actual span for getting unexpected token from parsing macrosyukang-2/+8
2023-06-09Move parse_seq_to_before_end closure to own functionest31-43/+37
2023-06-08Support float-like tuple indices in offset_of!()est31-2/+45
2023-06-08Move float breaking out of Parser::parse_expr_tuple_field_access_floatest31-22/+53
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-4/+4