summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2025-07-24Mitigate `#[align]` name resolution ambiguity regression with a renameJieyou Xu-1/+2
2025-06-22Rollup merge of #142798 - camsteffen:recover-semi, r=compiler-errorsGuillaume Gomez-30/+21
2025-06-22Port `#[must_use]` to new attribute parsing infrastructureJonathan Brouwer-0/+1
2025-06-20Recover from semicolon field separatorCameron Steffen-15/+18
2025-06-20Factor out seen_comma variableCameron Steffen-15/+3
2025-06-20Rollup merge of #142650 - camsteffen:refactor-translator, r=petrochenkovTrevor Gross-3/+3
2025-06-20expected word diagnostic testJana Dönszelmann-0/+1
2025-06-20Rollup merge of #138291 - jdonszelmann:optimize-attr, r=oli-obkTrevor Gross-0/+1
2025-06-19Extract Translator structCameron Steffen-3/+3
2025-06-18convert the `optimize` attribute to a new parserJana Dönszelmann-0/+1
2025-06-18add `#[align]` attributeFolkert de Vries-0/+1
2025-06-18Auto merge of #138165 - jdonszelmann:inline, r=oli-obkbors-3/+14
2025-06-17make error codes reflect reality betterJana Dönszelmann-1/+8
2025-06-17Rollup merge of #142371 - fee1-dead-contrib:push-xqlkumzurkus, r=petrochenkovJacob Pratt-2/+2
2025-06-17use consistent attr errors in all attribute parsersJana Dönszelmann-1/+1
2025-06-17fix bugs in inline/force_inline and diagnostics of all attr parsersJana Dönszelmann-3/+7
2025-06-16Rollup merge of #142341 - xizheyin:142311, r=fee1-deadJakub Beránek-17/+28
2025-06-16Dont suggest converting `///` to regular comment when it appears after missin...xizheyin-17/+28
2025-06-15use `if let` guards where possibleDeadbeef-16/+11
2025-06-13Rework how the disallowed qualifier lints are generatedJonathan Brouwer-65/+91
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-2/+2
2025-06-12Rollup merge of #142261 - folkertdev:unstable-attr-correct-edition, r=compile...Matthias Krüger-1/+6
2025-06-11Add expectation for `{` when parsing lone coroutine qualifiersLukas Wirth-13/+19
2025-06-09use correct edition when warning for unsafe attributesFolkert de Vries-1/+6
2025-06-08Remove all unused feature gates from the compilerbjorn3-1/+0
2025-06-06Rollup merge of #141603 - nnethercote:reduce-P, r=fee1-deadGuillaume Gomez-13/+11
2025-06-04Ensure stack in `Parser::parse_ty`Josh Stone-8/+12
2025-06-04Rollup merge of #141570 - chenyukang:yukang-fix-eq_unspanned, r=workingjubileeMatthias Krüger-2/+6
2025-06-03Rollup merge of #141945 - nnethercote:rm-Path-is_ident, r=compiler-errorsMatthias Krüger-1/+1
2025-06-03Add `iter` macroOli Scherer-1/+1
2025-06-03Remove `Path::is_ident`.Nicholas Nethercote-1/+1
2025-05-30Rollup merge of #141077 - chenyukang:yukang-fix-140991-comma, r=wesleywiserJubilee-18/+36
2025-05-30Rollup merge of #141004 - matthewjasper:unicode-before-expansion, r=davidtwcoMatthias Krüger-2/+87
2025-05-29Rollup merge of #141675 - nnethercote:ItemKind-field-order, r=fee1-deadJacob Pratt-3/+3
2025-05-28Rollup merge of #141670 - chenyukang:yukang-fix-ice-from-contracts, r=nnether...Trevor Gross-7/+6
2025-05-28Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.Nicholas Nethercote-3/+3
2025-05-28Fix ICE in tokenstream with contracts from parser recoveryyukang-7/+6
2025-05-27Report text_direction_codepoint_in_literal when parsingMatthew Jasper-2/+87
2025-05-27move asm parsing code into `rustc_parse`Folkert de Vries-0/+480
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-12/+10
2025-05-27Remove the one use of `P<[T]>`.Nicholas Nethercote-1/+1
2025-05-26remove eq_unspanned from TokenStreamyukang-2/+6
2025-05-16Fix the issue of typo of comma in arm parsingyukang-18/+36
2025-05-16Rollup merge of #141003 - clubby789:ternary-improve, r=compiler-errorsMatthias Krüger-12/+52
2025-05-14Improve ternary operator recoveryJamie-12/+52
2025-05-12update cfg(bootstrap)Pietro Albini-1/+0
2025-05-09Error message for top-level or-patterns suggesting a solutionKornel-2/+2
2025-05-09Remove `Ident::empty`.Nicholas Nethercote-1/+1
2025-05-07Rollup merge of #140671 - xizheyin:issue-140169, r=petrochenkovGuillaume Gomez-6/+72
2025-05-07Use `parse_param_general` when parsing `(T, U)->R` in `parse_path_segment`xizheyin-6/+72