about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2025-05-14Improve ternary operator recoveryJamie-10/+31
2025-05-09Remove `Ident::empty`.Nicholas Nethercote-1/+1
2025-05-07Use `parse_param_general` when parsing `(T, U)->R` in `parse_path_segment`xizheyin-6/+38
2025-04-30Rollup merge of #140494 - ehuss:document-restrictions, r=traviscross,SparrowLiiMatthias Krüger-0/+49
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-75/+0
2025-04-29Parser: Document restrictionsEric Huss-0/+49
2025-04-30Use `ThinVec` to shrink `LazyAttrTokenStreamInner`.Nicholas Nethercote-2/+3
2025-04-30Simplify `LazyAttrTokenStream`.Nicholas Nethercote-18/+6
2025-04-29Move various token stream things from `rustc_parse` to `rustc_ast`.Nicholas Nethercote-337/+12
2025-04-25resolved conflictKivooeo-4/+8
2025-04-24Rollup merge of #140228 - fmease:revert-overzealous-colon-recovery, r=jieyouxuMatthias Krüger-13/+18
2025-04-24Revert overzealous parse recovery for single colonsLeón Orell Valerian Liehr-13/+18
2025-04-23Auto merge of #140180 - ChrisDenton:rollup-5pvs08u, r=ChrisDentonbors-25/+1
2025-04-23Rollup merge of #140147 - xizheyin:issue-138401-1, r=compiler-errorsChris Denton-25/+1
2025-04-22Rollup merge of #140144 - nnethercote:fix-140098, r=petrochenkovChris Denton-13/+13
2025-04-22Auto merge of #132833 - est31:stabilize_let_chains, r=fee1-deadbors-29/+54
2025-04-22Move make_unclosed_delims_error to lexer/diagonostics.rsxizheyin-25/+1
2025-04-22Handle another negated literal in `eat_token_lit`.Nicholas Nethercote-13/+13
2025-04-22Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkovbors-355/+253
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-355/+253
2025-04-20Don't call ungate_lastest31-54/+45
2025-04-19Rollup merge of #137454 - mu001999-contrib:fix-137414, r=wesleywiserChris Denton-6/+8
2025-04-18Also allow let chains in match guardsest31-11/+20
2025-04-18Stabilize let chains on edition 2024est31-3/+28
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