about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/nonterminal.rs
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-9/+7
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-8/+6
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-82/+38
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-8/+8
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-7/+5
2025-02-28Remove `NtPath`.Nicholas Nethercote-3/+5
2025-02-28Remove `NtMeta`.Nicholas Nethercote-5/+6
2025-02-28Remove `NtPat`.Nicholas Nethercote-11/+13
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-2/+2
2025-02-21Remove `NtTy`.Nicholas Nethercote-3/+4
2025-02-21Remove `NtVis`.Nicholas Nethercote-7/+6
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-11-24refactor pat parser method names/doc-comments to agree with RFC 3637Max Niederman-1/+1
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-4/+46
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-06Add initial support for raw lifetimesMichael Goulet-3/+3
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-19/+1
2024-07-31Rollup merge of #126697 - vincenzopalazzo:macros/find_the_expression_tok, r=e...Matthias Krüger-1/+10
2024-07-31tweak comment on `NonterminalKind::Expr`Michael Goulet-1/+1
2024-07-31rustc_parser: consider the in 2024 an expressionVincenzo Palazzo-1/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+4
2024-07-19Use `ForceCollect` in `parse_attr_item`.Nicholas Nethercote-1/+1
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-2/+5
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-16/+12
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-3/+2
2024-06-02Avoid checking the edition as much as possibleVincenzo Palazzo-1/+1
2024-05-17Auto merge of #123865 - eholk:expr_2021, r=fmeasebors-2/+10
2024-05-17Update compiler/rustc_parse/src/parser/nonterminal.rsEric Holk-2/+1
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-26/+27
2024-05-13Macros: match const { ... } with expr nonterminal in edition 2024Vincenzo Palazzo-1/+8
2024-05-13Add expr_2021 nonterminal and feature flagEric Holk-2/+4
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-10/+8
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-2/+2
2024-03-21Streamline `NamedMatch`.Nicholas Nethercote-2/+5
2024-03-21Fix some formatting.Nicholas Nethercote-5/+3
2024-02-20Add newtype for raw identsclubby789-1/+1
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-12/+10
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-5/+6
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-4/+4
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-7/+7
2023-10-13Format all the let chains in compilerMichael Goulet-19/+18
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-4/+4
2023-08-17Simplify a `match`.Nicholas Nethercote-4/+1
2023-08-17Make some `match`es exhaustive in `nonterminal.rs`.Nicholas Nethercote-5/+20
2023-08-17Use `Nonterminal::*` in `nonterminal.rs`.Nicholas Nethercote-26/+17
2023-08-17Remove unnecessary braces on `PatWithOr` patterns.Nicholas Nethercote-4/+4
2023-08-17Rename `parse_no_question_mark_recover`.Nicholas Nethercote-1/+1
2023-08-17Remove outdated comment.Nicholas Nethercote-2/+0