summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2024-10-07Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner,...bors-8/+8
2024-10-07Rename nested_meta to meta_item_innercodemountains-1/+1
2024-10-06Auto merge of #129670 - est31:cfg_attr_crate_type_name_error, r=Urgaubors-14/+19
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-7/+7
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-14/+19
2024-10-04Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercoteGuillaume Gomez-3/+5
2024-10-01Implement boolean lit support in cfg predicatesUrgau-3/+3
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-5/+7
2024-10-01Stabilize expr_2021 fragment in all editionsEric Holk-36/+6
2024-09-29cleanup: don't manually `unwrap_or_default()`Matthias Krüger-4/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-114/+102
2024-09-22Auto merge of #130246 - dianne:issue-97589-fix, r=petrochenkovbors-3/+11
2024-09-13Remove unnecessary lifetimes from `rustc_expand`.Nicholas Nethercote-4/+4
2024-09-11rustc_expand: remember module #[path]s during expansiondianne-3/+11
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-8/+11
2024-08-27Add `warn(unreachable_pub)` to `rustc_expand`.Nicholas Nethercote-21/+22
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-17Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercotebors-12/+3
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-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-5/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-4/+4
2024-08-10rustc_expand: make a message translatablePavel Grigorenko-2/+2
2024-08-10rustc_expand: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-3/+0
2024-08-07refactor(rustc_expand::mbe): Don't require full ExtCtxt when not necessaryFelix Rath-28/+28
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-12/+3
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-1/+3
2024-07-29Deny unsafe on more builtin attributescarbotaniuman-1/+15
2024-07-29Rollup merge of #128202 - compiler-errors:internal-lib-features, r=oli-obkMatthias Krüger-0/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-118/+130
2024-07-27Make `missing_fragment_specifier` an error in edition 2024Trevor Gross-7/+35
2024-07-25Tell users not to file a bug when using internal library featuresMichael Goulet-0/+6
2024-07-24Rollup merge of #128133 - nnethercote:fix-cfg_attr-spans, r=petrochenkovMatthias Krüger-28/+28
2024-07-24Improve spans on evaluated `cfg_attr`s.Nicholas Nethercote-28/+28
2024-07-22Avoid passing state that will not be visitedOli Scherer-7/+7
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-40/+40
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-70/+70
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-7/+7
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-39/+38
2024-07-19Allow concat in repetitionsCaio-45/+72
2024-07-17Rollup merge of #127542 - c410-f3r:concat-again, r=petrochenkovTrevor Gross-24/+37
2024-07-17Add support for literalsCaio-24/+37
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-13/+17
2024-07-10Add some comments.Nicholas Nethercote-0/+3
2024-07-10Factor out `AttrsTarget` flattening code.Nicholas Nethercote-1/+4
2024-07-10Use `cfg_attr` as a name more.Nicholas Nethercote-11/+11
2024-07-10Rework `Attribute::get_tokens`.Nicholas Nethercote-3/+1
2024-07-08Rollup merge of #126841 - c410-f3r:concat-again, r=petrochenkov许杰友 Jieyou Xu (Joe)-26/+80