about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2025-01-21Only assert the `Parser` size on specific archesJosh Stone-2/+3
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-11Remove allocations from case-insensitive comparison to keywordsMark Rousskov-2/+3
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-2/+2
2025-01-09Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errorsMatthias Krüger-4/+2
2025-01-08Remove some unnecessary `.into()` callsEsteban Küber-4/+2
2025-01-08update cfg(bootstrap)Pietro Albini-2/+2
2025-01-08Rename PatKind::Lit to ExprOli Scherer-6/+6
2024-12-29Rollup merge of #134884 - calciumbe:patch1, r=jieyouxuMatthias Krüger-1/+1
2024-12-29fix: typoscalciumbe-1/+1
2024-12-27Skip parenthesis around tuple struct field callsDavid Tolnay-1/+1
2024-12-21Rollup merge of #134600 - dtolnay:chainedcomparison, r=oli-obkJacob Pratt-10/+2
2024-12-21Rollup merge of #133087 - estebank:stmt-misparse, r=chenyukangJacob Pratt-2/+53
2024-12-20Change comparison operators to have Fixity::NoneDavid Tolnay-10/+2
2024-12-21Do not suggest `foo.Bar`Esteban Küber-1/+6
2024-12-21Account for missing `.` in macros to avoid incorrect suggestionEsteban Küber-0/+4
2024-12-21Detect missing `.` in method chain in let bindings and statementsEsteban Küber-2/+44
2024-12-20Reduce the amount of explicit FatalError.raise()bjorn3-14/+6
2024-12-19Fix `Parser` size assertion on s390x.Nicholas Nethercote-3/+3
2024-12-19Make `TokenType::from_u32` foolproof.Nicholas Nethercote-115/+126
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-704/+1263
2024-12-19Remove `bra`/`ket` naming.Nicholas Nethercote-24/+24
2024-12-19Tweak some parser `check`/`eat` methods.Nicholas Nethercote-25/+20
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-24/+25
2024-12-18Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35...bors-1/+1
2024-12-18Rollup merge of #134253 - nnethercote:overhaul-keywords, r=petrochenkov许杰友 Jieyou Xu (Joe)-4/+4
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-42/+72
2024-12-18Only have one source of truth for keywords.Nicholas Nethercote-2/+2
2024-12-18Simplify `AllKeywords`.Nicholas Nethercote-2/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-25/+16
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-33/+63
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-9/+9
2024-12-17Use field init shorthand where possibleJosh Triplett-1/+1
2024-12-16Rollup merge of #134284 - estebank:issue-74863, r=lcnrMatthias Krüger-2/+2
2024-12-15Add hir::AttributeJonathan Dönszelmann-7/+6
2024-12-15Rename `value` field to `expr` to simplify later commits' diffsOli Scherer-1/+1
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-2/+2
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-3/+39
2024-12-13Rollup merge of #133937 - estebank:silence-resolve-errors-from-mod-with-parse...Matthias Krüger-1/+1
2024-12-13Stabilize async closuresMichael Goulet-4/+1
2024-12-12Add testsMichael Goulet-1/+3
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-2/+21
2024-12-12Parsing unsafe bindersMichael Goulet-1/+16
2024-12-12Rollup merge of #134187 - nnethercote:rm-PErr, r=jieyouxuMatthias Krüger-3/+3
2024-12-12Rollup merge of #134173 - onur-ozkan:allow-symbol-intern-string-literal, r=ji...Matthias Krüger-0/+4
2024-12-12Remove `PErr`.Nicholas Nethercote-3/+3
2024-12-11allow `symbol_intern_string_literal` lint in test modulesonur-ozkan-0/+4
2024-12-11Don't emit "field expressions may not have generic arguments" if it's a metho...Orion Gonzalez-2/+5
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-09Detect `struct S(ty = val);`Esteban Küber-1/+17