about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2025-02-03Separate contract feature gates for the internal machineryFelix S. Klock II-3/+17
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-4/+39
2025-02-03Do not allow attributes on struct field rest patternsJack Rickard-11/+11
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-12/+12
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-7/+4
2025-01-28replaces few consts with statics to reduce readonly sectionklensy-1/+1
2025-01-28Rollup merge of #133151 - tyrone-wu:trim-fn-ptr-whitespace, r=compiler-errorsMatthias Krüger-6/+50
2025-01-27Trim extra whitespace in fn ptr suggestion spanTyrone Wu-6/+50
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-2/+2
2025-01-24use `fmt::from_fn` in more places, instead of using structs that impl formatt...Yotam Ofek-35/+25
2025-01-24Rollup merge of #135855 - cuviper:parser-size, r=wesleywiserMatthias Krüger-2/+3
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-2/+2
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-6/+3
2025-01-22Rollup merge of #135557 - estebank:wtf8, r=fee1-deadMatthias Krüger-4/+63
2025-01-22Auto merge of #134478 - compiler-errors:attr-span, r=oli-obkbors-6/+2
2025-01-21Only assert the `Parser` size on specific archesJosh Stone-2/+3
2025-01-22Point at invalid utf-8 span on user's source codeEsteban Küber-4/+63
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 parsing of ranges after unary operatorsDavid Tolnay-1/+5
2024-12-29fix: typoscalciumbe-1/+1
2024-12-27Skip parenthesis around tuple struct field callsDavid Tolnay-1/+1
2024-12-21Properly record metavar spans for other expansions other than TTMichael Goulet-6/+2
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-31/+19
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-33/+63
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-9/+9