summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2025-06-19mbe: Refactor transcriptionTrevor Gross-348/+389
2025-06-19mbe: Move `transcribe_metavar_expr` directly after `transcribe`Trevor Gross-96/+96
2025-06-12Make `missing_fragment_specifier` an unconditional errorTrevor Gross-19/+6
2025-05-18Remove rustc_attr_data_structures re-export from rustc_attr_parsingmejrs-1/+1
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-16/+16
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-22/+20
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-25/+20
2025-04-11suggest: remove redundant `$()?`around `vis` fragmentsMakai-6/+38
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-11/+11
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-14/+9
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-7/+28
2025-03-19Allow builtin macros to be used more than once.Mara Bos-2/+3
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-1/+13
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-1/+13
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-7/+7
2025-02-28Remove `NtPath`.Nicholas Nethercote-0/+3
2025-02-28Remove `NtMeta`.Nicholas Nethercote-0/+8
2025-02-28Remove `NtPat`.Nicholas Nethercote-4/+14
2025-02-24Introduce new-style attribute parsers for several attributesJana Dönszelmann-15/+5
2025-02-22Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=NadrierilMatthias Krüger-2/+2
2025-02-22Fix binding mode problemsMichael Goulet-2/+2
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-2/+3
2025-02-21Remove `NtTy`.Nicholas Nethercote-0/+3
2025-02-21Remove `NtVis`.Nicholas Nethercote-1/+34
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