about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/nonterminal.rs
AgeCommit message (Expand)AuthorLines
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
2022-02-28Tweak diagnosticsEsteban Kuber-2/+2
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-8/+9
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-2/+2
2021-06-06parser: Ensure that all nonterminals have tokens after parsingVadim Petrochenkov-2/+15
2021-04-27remove pat2021mark-4/+4
2021-04-15rename pat2015 to pat_parammark-4/+6
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-3/+1
2021-03-25Avoid double-collection for expression nonterminalsAaron Hill-16/+1
2021-03-23Rollup merge of #83384 - mark-i-m:rename-pat2018, r=joshtriplettYuki Okushi-3/+3
2021-03-22rename :pat2018 -> :pat215mark-3/+3
2021-03-19stabilize or_patternsmark-2/+2
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-2/+2
2021-02-13Address review commentsAaron Hill-1/+1
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-10/+34
2021-02-02Bump rustfmt versionMark Rousskov-7/+10
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-3/+3
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-81/+18
2020-12-30Implement edition-based macro pat featuremark-17/+10
2020-12-19implement edition-specific :pat behavior for 2015/18mark-3/+20
2020-12-17Don't allow `const` to begin a nonterminalCamelid-0/+2
2020-11-26Properly handle attributes on statementsAaron Hill-2/+2
2020-10-30Fix even more clippy warningsJoshua Nelson-14/+8
2020-10-22Don't create an empty `LazyTokenStream`Aaron Hill-10/+10
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-1/+1
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-4/+14
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-1/+9
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-1/+9
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-1/+8
2020-09-10Collect tokens when handling `:literal` matcherAaron Hill-1/+9
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-1/+8
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-1/+8
2020-08-30mv compiler to compiler/mark-0/+170