about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/attr
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-3/+2
2025-07-12Port `#[automatically_derived]` to the new attribute parsing infrastructureJonathan Brouwer-0/+5
2025-06-21Remove style() from AttributeExt traitDavid Tolnay-9/+3
2025-06-21Add AttributeExt::doc_resolution_scopeDavid Tolnay-0/+21
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-1/+1
2025-04-22Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkovbors-4/+1
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-4/+1
2025-04-17Replace infallible `name_or_empty` methods with fallible `name` methods.Nicholas Nethercote-11/+22
2025-04-13Improve `-Z crate-attr` diagnosticsjyn-1/+1
2025-04-03Allow boolean literals in `check-cfg`clubby789-0/+8
2025-02-28Remove `NtPath`.Nicholas Nethercote-5/+3
2025-02-28Remove `NtMeta`.Nicholas Nethercote-2/+10
2025-01-26rustc_ast: replace some len-checks + indexing with slice patterns etc. 🧹Yotam Ofek-1/+1
2025-01-15allowed_through_unstable_modules: support showing a deprecation message when ...Ralf Jung-0/+2
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-39/+30
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Remove `Peekable<TokenStreamIter>` uses.Nicholas Nethercote-18/+9
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-27/+27
2024-12-15Add hir::AttributeJonathan Dönszelmann-59/+204
2024-12-15Rename `value` field to `expr` to simplify later commits' diffsOli Scherer-4/+4
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-5/+7
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-2/+2
2024-11-05Add documentation on `ast::Attribute`Guillaume Gomez-0/+46
2024-10-19Do not run lints that cannot emitblyxyas-1/+1
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-24/+24
2024-10-01Implement boolean lit support in cfg predicatesUrgau-0/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+13
2024-07-10Rework `Attribute::get_tokens`.Nicholas Nethercote-13/+10
2024-07-07Rename `Attribute::tokens` (the inherent method).Nicholas Nethercote-1/+2
2024-07-02Change `AttrTokenStream::to_tokenstream` to `to_token_trees`.Nicholas Nethercote-6/+8
2024-06-25Extra panic cases.Nicholas Nethercote-1/+8
2024-06-06Change comment to FIXMEcarbotaniuman-1/+3
2024-06-06Fix buildcarbotaniuman-7/+7
2024-06-06Parse unsafe attributescarbotaniuman-8/+25
2024-05-21Move `#[do_not_recommend]` to the `#[diagnostic]` namespaceGeorg Semmler-0/+11
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-1/+1
2024-04-24Rename `NestedMetaItem::name_value_literal`.Nicholas Nethercote-2/+3
2024-04-24Remove `MetaItemKind::value_str`.Nicholas Nethercote-8/+4
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-3/+3
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-3/+3
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-3/+1
2023-10-12Use `TokenStream::token_alone` in one place.Nicholas Nethercote-4/+4
2023-09-12`#[diagnostic::on_unimplemented]` without filtersGeorg Semmler-0/+16
2023-08-03Remove `MacDelimiter`.Nicholas Nethercote-8/+6
2023-07-27Make `TokenTree::uninterpolate` take `&self` and return a `Cow`.Nicholas Nethercote-7/+7
2023-07-27Use `TokenStream::trees` instead of `into_trees` for attributes.Nicholas Nethercote-14/+13
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-3/+3