about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2025-04-15Rollup merge of #139671 - m-ou-se:proc-macro-span, r=dtolnayStuart Cook-27/+24
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-46/+20
2025-04-13Rollup merge of #139628 - makai410:suggest-vis, r=compiler-errorsJacob Pratt-6/+38
2025-04-11Replace proc_macro::SourceFile by Span::{file, local_file}.Mara Bos-23/+24
2025-04-11Remove proc_macro::SourceFile::is_real().Mara Bos-4/+0
2025-04-11suggest: remove redundant `$()?`around `vis` fragmentsMakai-6/+38
2025-04-10Address review comments.Nicholas Nethercote-1/+1
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-6/+6
2025-04-04Implement `super let`.Mara Bos-0/+2
2025-04-02Remove `TokenStream::flattened` and `InvisibleOrigin::FlattenToken`.Nicholas Nethercote-6/+0
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-11/+11
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-30/+10
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-7/+28
2025-04-01Address review comments.Nicholas Nethercote-3/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-27/+17
2025-03-27Rollup merge of #138844 - petrochenkov:cfgtrace2, r=nnethercoteJacob Pratt-17/+20
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-17/+20
2025-03-26Rollup merge of #138898 - fmease:decrustify-parser-post-ty-ascr, r=compiler-e...Stuart Cook-1/+0
2025-03-25Rollup merge of #138911 - compiler-errors:define-opaque, r=oli-obkJacob Pratt-2/+9
2025-03-25Allow defining opaques in statics and constsMichael Goulet-2/+9
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-17/+113
2025-03-24Remove fields that are dead since the removal of type ascription syntaxLeón Orell Valerian Liehr-1/+0
2025-03-21expand: Do not report `cfg_attr` traces on macros as unused attributesVadim Petrochenkov-1/+1
2025-03-20Auto merge of #138515 - petrochenkov:cfgtrace, r=nnethercotebors-10/+25
2025-03-19Allow builtin macros to be used more than once.Mara Bos-12/+14
2025-03-17expand: Leave traces when expanding `cfg_attr` attributesVadim Petrochenkov-10/+25
2025-03-17Use `strip_{prefix|suffix}` instead of `{starts|ends}_with`+indexingYotam Ofek-4/+4
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-4/+8
2025-03-12Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgrbors-1/+0
2025-03-12Rollup merge of #138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan...Matthias Krüger-1/+0
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-30/+84
2025-03-12Introduce `sym::dummy` and `Ident::dummy`.Nicholas Nethercote-1/+1
2025-03-11Auto merge of #128440 - oli-obk:defines, r=lcnrbors-2/+2
2025-03-11Keep items around even if builtin macros on them fail to parseOli Scherer-2/+2
2025-03-11Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-0/+1
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-07More denesting of invisibly-delimited groups.Nicholas Nethercote-1/+19
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-30/+66
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-48/+43
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-5/+5
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-43/+38
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-3/+75
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-28/+25
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-22Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=NadrierilMatthias Krüger-3/+3
2025-02-22Fix binding mode problemsMichael Goulet-2/+2