about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/quoted.rs
AgeCommit message (Expand)AuthorLines
2025-07-05mbe: Add a helper to parse a single `TokenTree`Josh Triplett-1/+17
2025-07-05mbe: Introduce an enum for which part of a rule we're parsingJosh Triplett-15/+33
2025-06-24mbe: Use `TokenTree` as the fallback for invalid fragment specifiersTrevor Gross-2/+2
2025-06-24mbe: Clean up code with non-optional `NonterminalKind`Trevor Gross-6/+13
2025-06-24mbe: Unnest nested matches with let-else and let chainsTrevor Gross-58/+63
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-2/+6
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-2/+2
2025-02-08Rustfmtbjorn3-18/+18
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-25/+27
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Remove `Peekable<TokenStreamIter>` uses.Nicholas Nethercote-12/+14
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-21/+21
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-5/+6
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-2/+2
2024-10-22terminology: #[feature] *enables* a feature (instead of "declaring" or "activ...Ralf Jung-1/+1
2024-10-01Stabilize expr_2021 fragment in all editionsEric Holk-34/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-22/+22
2024-08-27Add `warn(unreachable_pub)` to `rustc_expand`.Nicholas Nethercote-6/+5
2024-08-16Fix wrong source location for some incorrect macro definitionsWafarm-6/+13
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+7
2024-07-27Make `missing_fragment_specifier` an error in edition 2024Trevor Gross-1/+1
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-2/+2
2024-06-23Import `NonterminalKind` in `compiler/rustc_expand/src/mbe/quoted.rs`.Nicholas Nethercote-30/+25
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-1/+2
2024-06-13Add a new concat metavar exprCaio-5/+20
2024-05-23Clarify `parse` a little.Nicholas Nethercote-3/+8
2024-05-23Clarify the meaning of the span within `mbe::TokenTree::MetaVar`.Nicholas Nethercote-8/+11
2024-05-17Auto merge of #123865 - eholk:expr_2021, r=fmeasebors-21/+50
2024-05-13Apply code review suggestionsEric Holk-23/+46
2024-05-13Add expr_2021 nonterminal and feature flagEric Holk-0/+6
2024-05-10s/MetaVarExpr::Length/MetaVarExpr::Len/Jubilee Young-1/+1
2024-03-20make "expected paren or brace" error translatableTshepang Mbambo-3/+5
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+1
2024-02-20Add newtype for raw identsclubby789-2/+2
2024-02-16make "invalid fragment specifier" translatableTshepang Mbambo-9/+9
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-14/+17
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2024-01-06rustc_span: Optimize syntax context comparisonsVadim Petrochenkov-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-8/+7
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-3/+4
2023-12-02Rename `*note_without_error` as `*note`.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-7/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-07-27Avoid some token tree cloning in decl macro parsing.Nicholas Nethercote-21/+21
2023-06-16Add `SyntaxContext::is_root`Maybe Waffle-2/+2
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-4/+4
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2