about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
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-31Fix verbatim paths used with include!Chris Denton-1/+7
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
2024-07-07Use `filter_map` instead of `flat_map` in `configure_tokens`.Nicholas Nethercote-7/+5
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-7/+7
2024-07-07Remove an unnecessary local variable.Nicholas Nethercote-2/+1
2024-07-07Rename `Attribute::tokens` (the inherent method).Nicholas Nethercote-1/+1
2024-07-06Add support for literalsCaio-26/+80
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-9/+9
2024-06-27Rollup merge of #126928 - nnethercote:124141-pre, r=oli-obkJacob Pratt-0/+6
2024-06-25Extra panic cases.Nicholas Nethercote-0/+6
2024-06-24Rollup merge of #126177 - carbotaniuman:unsafe_attr_errors, r=jieyouxuMatthias Krüger-1/+1
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-1/+1
2024-06-23Rollup merge of #126851 - nnethercote:NtExprKind-NtPatKind, r=compiler-errorsMatthias Krüger-41/+39
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-22delegation: Do not crash on qpaths without a traitVadim Petrochenkov-2/+17
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
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-2/+5
2024-06-19Rollup merge of #124135 - petrochenkov:deleglob, r=fmease许杰友 Jieyou Xu (Joe)-41/+170