about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
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-103/+226
2025-04-01Auto merge of #138492 - lcnr:rm-inline_const_pat, r=oli-obkbors-26/+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-12/+55
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-27Rollup merge of #138844 - petrochenkov:cfgtrace2, r=nnethercoteJacob Pratt-6/+3
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-6/+3
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-95/+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-76/+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-26/+11
2025-03-20Auto merge of #138747 - matthiaskrgr:rollup-68x44rw, r=matthiaskrgrbors-1/+11
2025-03-20Auto merge of #138515 - petrochenkov:cfgtrace, r=nnethercotebors-1/+1
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-6/+8
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
2025-03-17Teach rustfmt to handle postfix yieldEric Holk-3/+2
2025-03-17expand: Leave traces when expanding `cfg_attr` attributesVadim Petrochenkov-1/+1
2025-03-17If a label is placed on the block of a loop instead of the header, suggest mo...Zachary S-25/+66
2025-03-15Rollup merge of #138511 - mohe2015:rustc-parse-pub-parse-expr-cond, r=oli-obkLeón Orell Valerian Liehr-1/+2
2025-03-14Preserve yield position during pretty printingEric Holk-3/+6
2025-03-14Add support for postfix yield expressionsEric Holk-0/+7
2025-03-14Make `Parser::parse_expr_cond` public.Moritz Hedtke-1/+2
2025-03-13Provide helpful diagnostics for shebang lookalikesPyrode-1/+18
2025-03-12Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgrbors-1/+0
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Matthias Krüger-1/+0
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-36/+65
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-11Rollup merge of #138315 - matthiaskrgr:nextback, r=fmeaseJakub Beránek-1/+1
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-1/+8
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10use next_back() instead of last() on DoubleEndedIteratorMatthias Krüger-1/+1
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-2/+1
2025-03-09Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxuMatthias Krüger-1/+2
2025-03-09Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compile...Matthias Krüger-1/+1
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+2
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/+117