about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2024-12-15Add hir::AttributeJonathan Dönszelmann-2/+2
2024-12-01Fix #128346Caio-2/+4
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-2/+4
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-6/+7
2024-10-30Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebankMatthias Krüger-13/+5
2024-10-29Rollup merge of #131375 - klensy:clone_on_ref_ptr, r=cjgillotJubilee-2/+3
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-2/+3
2024-10-28Tweak more warnings.Nicholas Nethercote-13/+5
2024-10-26expand: Stop using artificial `ast::Item` for macros loaded from metadataVadim Petrochenkov-55/+43
2024-10-23Rollup merge of #132060 - joshtriplett:innermost-outermost, r=jieyouxuLeón Orell Valerian Liehr-3/+3
2024-10-23"innermost", "outermost", "leftmost", and "rightmost" don't need hyphensJosh Triplett-3/+3
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-36/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-69/+63
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-8/+8
2024-09-06Add initial support for raw lifetimesMichael Goulet-4/+6
2024-08-27Add `warn(unreachable_pub)` to `rustc_expand`.Nicholas Nethercote-10/+10
2024-08-16Fix wrong source location for some incorrect macro definitionsWafarm-6/+13
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1
2024-08-07refactor(rustc_expand::mbe): Don't require full ExtCtxt when not necessaryFelix Rath-28/+28
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