about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
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/+40
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/+20
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)-43/+175
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-11/+6
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-11/+16
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-23/+24
2024-06-15Rollup merge of #125829 - petrochenkov:upctxt2, r=michaelwoeristerMatthias Krüger-1/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-43/+175
2024-06-13Add a new concat metavar exprCaio-27/+145
2024-06-13rustc_span: By-value interface for ctxt updateVadim Petrochenkov-1/+1
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-1/+1
2024-06-10rustc_span: Optimize syntax context updates in spansVadim Petrochenkov-5/+5