about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/nonterminal.rs
AgeCommit message (Expand)AuthorLines
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
2023-08-03Avoid too many expected symbols and reduce `None`sr0cky-1/+1
2023-08-03Keep the suggestion for wrong arbitrary self typesMu001999-2/+2
2023-04-16use matches! macro in more placesMatthias Krüger-6/+4
2023-02-01rustc_parse: migrate more to diagnostic structsXiretza-8/+14
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-8/+8
2022-09-15slight vertical formattingRageking8-12/+12
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-1/+1
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-4/+4
2022-04-20Inline `Parser::nonterminal_may_begin_with`.Nicholas Nethercote-2/+4
2022-04-20Inline `Parser::parse_nonterminal`.Nicholas Nethercote-1/+3
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-3/+3
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-12/+17
2022-03-04Do not recover from `Ty?` in macro parsingEsteban Kuber-1/+1