about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-22/+17
2025-05-19Rollup merge of #140874 - mejrs:rads, r=WaffleLapkinStuart Cook-2/+2
2025-05-18Remove rustc_attr_data_structures re-export from rustc_attr_parsingmejrs-2/+2
2025-05-12update cfg(bootstrap)Pietro Albini-1/+0
2025-05-08Remove associated type `InvocationCollectorNode::AttrsTy`Nicholas Nethercote-18/+12
2025-05-04Make attribute safety validation logic more obviousJieyou Xu-1/+1
2025-05-03Report the `unsafe_attr_outside_unsafe` lint at the closest nodeUrgau-2/+11
2025-04-30Rollup merge of #140450 - petrochenkov:vistok, r=nnethercoteMatthias Krüger-16/+16
2025-04-30Rollup merge of #140312 - nnethercote:DelimArgs-spacing, r=petrochenkovMatthias Krüger-6/+8
2025-04-30ast: Remove token visiting from AST visitorVadim Petrochenkov-16/+16
2025-04-30Simplify `LazyAttrTokenStream`.Nicholas Nethercote-4/+4
2025-04-29Improve pretty-printing of braces.Nicholas Nethercote-6/+8
2025-04-23Make #![feature(let_chains)] bootstrap conditional in compiler/est31-1/+1
2025-04-22Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkovbors-31/+25
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-31/+25
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-10/+10
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