about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-36/+64
2025-03-12Factor out some repeated code in `parse_item_impl`.Nicholas Nethercote-24/+13
2025-03-11Auto merge of #128440 - oli-obk:defines, r=lcnrbors-1/+8
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-1/+8
2025-03-10use next_back() instead of last() on DoubleEndedIteratorMatthias Krüger-1/+1
2025-03-09Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compile...Matthias Krüger-1/+1
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-1/+1
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-18/+81
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-36/+64
2025-03-06Parse and allow const use closuresSantiago Pastorino-3/+3
2025-03-06Give a better error message on async use in edition 2015Santiago Pastorino-8/+15
2025-03-06Fix use closure parsing error messageSantiago Pastorino-3/+16
2025-03-06Support nested use closuresSantiago Pastorino-1/+3
2025-03-06Use closure parse codeSantiago Pastorino-3/+14
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-3/+33
2025-03-05Simplify `parse_self_param`Frank King-43/+20
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+45
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-103/+93
2025-03-03Rollup merge of #134900 - dtolnay:unoprange, r=compiler-errors,davidtwcoMatthias Krüger-1/+5
2025-03-03Rollup merge of #132388 - frank-king:feature/where-cfg, r=petrochenkovMatthias Krüger-26/+39
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-28/+28
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-75/+65
2025-03-01Rollup merge of #137824 - estebank:rtn-sugg, r=compiler-errorsMatthias Krüger-1/+4
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-26/+39
2025-02-28Auto merge of #137517 - nnethercote:rm-NtPat-NtItem-NtStmt, r=petrochenkovbors-103/+99
2025-02-28Tweak invalid RTN errorsEsteban Küber-1/+4
2025-02-28Remove `NtPath`.Nicholas Nethercote-12/+19
2025-02-28Remove `NtMeta`.Nicholas Nethercote-21/+29
2025-02-28Remove `NtPat`.Nicholas Nethercote-72/+53
2025-02-27Rename `AssocOp::As` as `AssocOp::Cast`.Nicholas Nethercote-2/+2
2025-02-27Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.Nicholas Nethercote-9/+6
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-56/+41
2025-02-27In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`Nicholas Nethercote-14/+2
2025-02-23Rollup merge of #137435 - estebank:match-arm-2, r=compiler-errorsJacob Pratt-1/+2
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-22Fix "missing match arm body" suggestion involving `!`Esteban Küber-1/+2
2025-02-22Auto merge of #133436 - nnethercote:rm-NtVis-NtTy, r=petrochenkovbors-31/+100
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-18/+15
2025-02-21Remove `NtTy`.Nicholas Nethercote-20/+51
2025-02-21Remove `NtVis`.Nicholas Nethercote-9/+50
2025-02-20Rollup merge of #137281 - estebank:doc-comment-syntax-error, r=compiler-errorsMatthias Krüger-7/+9
2025-02-19Tweak "expected ident" parse error to avoid talking about doc commentsEsteban Küber-7/+9
2025-02-16Fix const items not being allowed to be called `r#move` or `r#static`Noratrieb-3/+3
2025-02-15Rollup merge of #136808 - chenyukang:yukang-fix-arg-list-error-129273, r=este...Matthias Krüger-5/+13
2025-02-15Rollup merge of #136490 - Skepfyr:no-field-rest-pattern-attrs, r=compiler-errorsMatthias Krüger-11/+11
2025-02-15Try to recover from path sep error in parseryukang-5/+13
2025-02-10Stop using span hack for contracts feature gatingMichael Goulet-12/+2
2025-02-08Rustfmtbjorn3-71/+85
2025-02-06Stop passing the same resource multiple times when building ParseSessbjorn3-5/+3
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-9/+9