about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2025-02-08Rustfmtbjorn3-37/+46
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2025-01-22Auto merge of #134478 - compiler-errors:attr-span, r=oli-obkbors-10/+10
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-26Rollup merge of #131522 - c410-f3r:unlock-rfc-2011, r=chenyukangJacob Pratt-2/+4
2024-12-21Hash only the spans that we care ended up reading in Span::try_metavarsMichael Goulet-17/+12
2024-12-21Hash the untracked macro variable expansionsMichael Goulet-9/+10
2024-12-21Properly record metavar spans for other expansions other than TTMichael Goulet-0/+4
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-45/+46
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-14/+9
2024-12-18Factor out repeated code from `eat_dollar`.Nicholas Nethercote-2/+1
2024-12-18Remove `Peekable<TokenStreamIter>` uses.Nicholas Nethercote-12/+14
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-35/+35
2024-12-18Simplify `RefTokenTreeCursor::look_ahead`.Nicholas Nethercote-5/+5
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-12-16split attributesJonathan Dönszelmann-1/+2
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