about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
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-2/+49
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/+89
2023-10-04Point to where missing return type should goMichael Goulet-1/+1
2023-10-04Rollup merge of #116393 - compiler-errors:auto-bad, r=WaffleLapkinMatthias Krüger-1/+6
2023-10-04review commentsEsteban Küber-3/+2
2023-10-03Move some tests aroundEsteban Küber-4/+4
2023-10-03Detect missing `=>` after match guard during parsingEsteban Küber-19/+90
2023-10-03Gate against auto traits pre-expansionMichael Goulet-1/+6
2023-10-03Rollup merge of #115863 - chenyukang:yukang-add-message-tidy-check, r=davidtwcoMatthias Krüger-30/+0
2023-09-28Tweak wording of missing angle backets in qualified pathEsteban Küber-7/+15
2023-09-20Cleanup unused messages in ftl filesyukang-30/+0
2023-09-14Auto merge of #115677 - matthewjasper:let-expr-recovery, r=b-naberbors-122/+264
2023-09-13Address review commentsMatthew Jasper-4/+15
2023-09-12Only suggest turbofish in patterns if we may recoverLeón Orell Valerian Liehr-1/+2
2023-09-11Reduce double errors for invalid let expressionsMatthew Jasper-3/+2
2023-09-11Move let expression checking to parsingMatthew Jasper-122/+254
2023-09-06Rollup merge of #115596 - nnethercote:two-small-changes, r=lqdMatthias Krüger-1/+1
2023-09-06Rollup merge of #115473 - gurry:113110-expected-item, r=compiler-errorsMatthias Krüger-4/+8
2023-09-06Adjust `to_attr_token_stream`.Nicholas Nethercote-1/+1
2023-09-06Add explanatory note to 'expected item' errorGurinder Singh-4/+8
2023-09-06Auto merge of #115371 - matthewjasper:if-let-guard-parsing, r=cjgillotbors-3/+1
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-1/+1
2023-08-30Rollup merge of #115347 - y21:generic-bound-impl-trait-ty, r=compiler-errorsMatthias Krüger-12/+26
2023-08-30Rollup merge of #114704 - bvanjoi:fix-114636, r=compiler-errorsMatthias Krüger-13/+3
2023-08-29suggest removing `impl` in generic trait bound positiony21-12/+26
2023-08-28Allow stuct literals in if let guardsMatthew Jasper-3/+1
2023-08-24Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkovbors-3/+51
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-3/+51
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-21discard dummy field for macro invocation when parse structbohan-13/+3
2023-08-19Fix a stack overflow with long else if chainsJohn Kåre Alsaker-1/+2
2023-08-18Auto merge of #114915 - nnethercote:Nonterminal-cleanups, r=petrochenkovbors-80/+82
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-5/+5
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-17Rollup merge of #114913 - beetrees:escape-double-quote, r=davidtwcoJosh Stone-14/+8
2023-08-17Simplify a `match`.Nicholas Nethercote-4/+1
2023-08-17Make some `match`es exhaustive in `nonterminal.rs`.Nicholas Nethercote-5/+20
2023-08-17Use `Nonterminal::*` in `nonterminal.rs`.Nicholas Nethercote-26/+17
2023-08-17Remove unnecessary braces on `PatWithOr` patterns.Nicholas Nethercote-4/+4