about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/metavar_expr.rs
AgeCommit message (Expand)AuthorLines
2025-09-20mbe: metavar expressions: Use symbols rather than `ident.as_str()`Josh Triplett-13/+12
2025-07-09mbe: Refactor the diagnostic for unrecognized metavariable expressionsTrevor Gross-9/+5
2025-07-09mbe: Refactor diagnostics for invalid metavar expression syntaxTrevor Gross-15/+69
2025-06-30mbe: Move `MetaVarExprConcatElem` closer to where it is usedTrevor Gross-14/+14
2025-06-30mbe: Factor `concat` metavariable handling outTrevor Gross-40/+45
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-20/+19
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Factor out repeated code from `eat_dollar`.Nicholas Nethercote-2/+1
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-14/+14
2024-12-18Simplify `RefTokenTreeCursor::look_ahead`.Nicholas Nethercote-5/+5
2024-10-23"innermost", "outermost", "leftmost", and "rightmost" don't need hyphensJosh Triplett-2/+2
2024-07-19Allow concat in repetitionsCaio-4/+12
2024-07-17Add support for literalsCaio-0/+2
2024-07-06Add support for literalsCaio-21/+53
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-14/+15
2024-06-13Add a new concat metavar exprCaio-19/+74
2024-05-10s/MetaVarExpr::Length/MetaVarExpr::Len/Jubilee Young-5/+5
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-0/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-38/+38
2024-02-20Add newtype for raw identsclubby789-2/+2
2024-01-19Pack the u128 in LitKind::IntJosh Stone-1/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-11/+10
2023-12-13Auto merge of #117050 - c410-f3r:here-we-go-again, r=petrochenkovbors-6/+26
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-1/+1
2023-12-01Attempt to try to resolve blocking concernsCaio-6/+26
2023-10-13Format all the let chains in compilerMichael Goulet-7/+7
2023-08-17[RFC-3086] Restrict the parsing of `count`Caio-1/+11
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-7/+4
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-3/+3
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-02-03Rename `Cursor`/`CursorRef` as `TokenTreeCursor`/`RefTokenTreeCursor`.Nicholas Nethercote-6/+6
2022-08-16Rename some things related to literals.Nicholas Nethercote-1/+1
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-3/+3
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-2/+2
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-3/+3
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-12/+14
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-2/+2
2022-04-05errors: implement fallback diagnostic translationDavid Wood-3/+5
2022-03-14Fix remaining meta-variable expression TODOsCaio-3/+3
2022-03-09Implement macro meta-variable expressionsCaio-0/+157