about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-59/+59
2024-07-27Make `missing_fragment_specifier` an error in edition 2024Trevor Gross-7/+18
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-2/+2
2024-07-19Allow concat in repetitionsCaio-45/+72
2024-07-17Add support for literalsCaio-24/+37
2024-07-08Rollup merge of #126841 - c410-f3r:concat-again, r=petrochenkov许杰友 Jieyou Xu (Joe)-26/+80
2024-07-06Add support for literalsCaio-26/+80
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-9/+9
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-12/+12
2024-06-23Tweak some ugly formatting.Nicholas Nethercote-1/+4
2024-06-23Import `NonterminalKind` in `compiler/rustc_expand/src/mbe/quoted.rs`.Nicholas Nethercote-30/+25
2024-06-21Rollup merge of #126700 - compiler-errors:fragment, r=fmeaseMatthias Krüger-2/+5
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-2/+5
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-11/+6
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-8/+13
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-21/+22
2024-06-15Rollup merge of #125829 - petrochenkov:upctxt2, r=michaelwoeristerMatthias Krüger-1/+1
2024-06-13Add a new concat metavar exprCaio-27/+145
2024-06-13rustc_span: By-value interface for ctxt updateVadim Petrochenkov-1/+1
2024-06-10rustc_span: Optimize syntax context updates in spansVadim Petrochenkov-5/+5
2024-05-28Remove a stray comment that shouldn't be here.Nicholas Nethercote-1/+0
2024-05-27Rollup merge of #125530 - SparrowLii:expand2, r=petrochenkovGuillaume Gomez-32/+31
2024-05-25cleanup dependence of `ExtCtxt` in transcribe when macro expansionSparrowLii-32/+31
2024-05-23Rollup merge of #125316 - nnethercote:tweak-Spacing, r=petrochenkovMatthias Krüger-11/+34
2024-05-23Add some comments.Nicholas Nethercote-0/+15
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-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-4/+4
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-16/+10
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-2/+0
2024-05-18Auto merge of #125180 - mu001999-contrib:improve/macro-diag, r=fee1-deadbors-13/+45
2024-05-18Improve error message: missing `;` in macro_rulesr0cky-13/+45
2024-05-17Auto merge of #123865 - eholk:expr_2021, r=fmeasebors-22/+51
2024-05-16Auto merge of #124987 - workingjubilee:macro-metavar-expr-with-a-shorter-len,...bors-8/+8
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-0/+10
2024-05-13Apply code review suggestionsEric Holk-23/+46
2024-05-13Add expr_2021 nonterminal and feature flagEric Holk-1/+7
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-14/+3
2024-05-10s/MetaVarExpr::Length/MetaVarExpr::Len/Jubilee Young-8/+8
2024-05-03Refactor `Frame`.Nicholas Nethercote-48/+50
2024-05-03Type annotate `repeats`.Nicholas Nethercote-1/+1
2024-05-03Fix some comment formatting.Nicholas Nethercote-6/+8
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+2
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-0/+2
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-21Rollup merge of #122752 - nnethercote:Interpolated-cleanups, r=petrochenkovMatthias Krüger-31/+25
2024-03-21Streamline `NamedMatch`.Nicholas Nethercote-25/+20
2024-03-21Factor out `tt` pushes.Nicholas Nethercote-6/+5