about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2025-04-19Rollup merge of #137454 - mu001999-contrib:fix-137414, r=wesleywiserChris Denton-6/+8
2025-04-17Auto merge of #139940 - matthiaskrgr:rollup-rd4d3fn, r=matthiaskrgrbors-11/+62
2025-04-17Rollup merge of #139854 - fmease:modern-diag-for-lt-in-ty, r=davidtwcoMatthias Krüger-11/+62
2025-04-16Remove old diagnostic notes for type ascription syntaxZalathar-10/+1
2025-04-15Improve diagnostic for E0178 (bad `+` in type)León Orell Valerian Liehr-5/+5
2025-04-15Improve parse errors for lifetimes in type positionLeón Orell Valerian Liehr-6/+57
2025-04-14Rollup merge of #139392 - compiler-errors:raw-expr, r=oli-obkMatthias Krüger-1/+38
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-170/+102
2025-04-11Rollup merge of #139653 - nnethercote:fix-139495, r=petrochenkovJacob Pratt-4/+9
2025-04-11Handle a negated literal in `eat_token_lit`.Nicholas Nethercote-4/+9
2025-04-09Avoid an empty trait name in impl blocks.Nicholas Nethercote-4/+5
2025-04-09Return early on an error path in `parse_item_impl`.Nicholas Nethercote-11/+3
2025-04-08Allow for reparsing failure when reparsing a pasted metavar.Nicholas Nethercote-3/+10
2025-04-08Allow for missing invisible close delim when reparsing an expression.Nicholas Nethercote-1/+6
2025-04-07Rollup merge of #139112 - m-ou-se:super-let, r=lcnrStuart Cook-6/+8
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-3/+1
2025-04-06Rollup merge of #139367 - GuillaumeGomez:proc-macro-values, r=UrgauGuillaume Gomez-1/+1
2025-04-05Rollup merge of #139341 - nnethercote:fix-137874, r=petrochenkovStuart Cook-1/+16
2025-04-04Detect and provide suggestion for `&raw EXPR`Michael Goulet-1/+38
2025-04-04Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crateGuillaume Gomez-1/+1
2025-04-04Implement `super let`.Mara Bos-6/+8
2025-04-04Apply `Recovery::Forbidden` when reparsing pasted macro fragments.Nicholas Nethercote-1/+16
2025-04-03Rollup merge of #138017 - nnethercote:tighten-assignment-op, r=spastorinoMatthias Krüger-7/+7
2025-04-03Rollup merge of #139080 - m-ou-se:super-let-gate, r=traviscrossMatthias Krüger-1/+18
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-7/+7
2025-04-02Fix two incorrect turbofish suggestionsFreya Arbjerg-7/+25
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-35/+34
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-135/+68
2025-04-02Fix problem causing `rusqlite` compilation to OOM.Nicholas Nethercote-1/+3
2025-04-02Remove `Token::uninterpolated_span`.Nicholas Nethercote-23/+42
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-100/+223
2025-04-01Auto merge of #138492 - lcnr:rm-inline_const_pat, r=oli-obkbors-13/+11
2025-04-01Address review comments.Nicholas Nethercote-17/+16
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-104/+99
2025-03-31Rollup merge of #138749 - compiler-errors:closure-recovery, r=fmeaseMatthias Krüger-9/+52
2025-03-28Add the feature gate for the `super let` experiment.Mara Bos-1/+18
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-3/+1
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-73/+21
2025-03-25Rollup merge of #138911 - compiler-errors:define-opaque, r=oli-obkJacob Pratt-2/+11
2025-03-25Allow defining opaques in statics and constsMichael Goulet-2/+11
2025-03-25Remove now unreachable parse recovery codeLeón Orell Valerian Liehr-54/+24
2025-03-25Brace-ident-colon can certainly no longer start a blockLeón Orell Valerian Liehr-12/+2
2025-03-25Use `sym::dummy` for a dummy arg in `parse_fn_params`.Nicholas Nethercote-1/+1
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-23/+11
2025-03-21remove `feature(inline_const_pat)`lcnr-13/+11
2025-03-20Make dedicated recovery for missing braces on closure with returnMichael Goulet-6/+47
2025-03-20Fix diagnostic struct typo, make sure is_array_like_block checks that it's a ...Michael Goulet-3/+5
2025-03-20Rollup merge of #138435 - eholk:prefix-yield, r=oli-obkMatthias Krüger-1/+11
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-4/+5
2025-03-18Apply suggestions from code reviewEric Holk-1/+1