about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/config.rs
AgeCommit message (Expand)AuthorLines
2025-09-14Move more early buffered lints to dyn lint diagnostics (1/N)León Orell Valerian Liehr-2/+1
2025-08-22Use the new attribute parser throughout the codebaseJonathan Brouwer-10/+0
2025-08-22Move validate_attr to `rustc_attr_parsing`Jonathan Brouwer-2/+2
2025-07-15Fix ice for feature-gated cfg attributes applied to the crateJonathan Brouwer-6/+16
2025-07-15Define attribute parser & config evaluatorJonathan Brouwer-14/+38
2025-06-24Don't include current rustc version string in feature removed helpJieyou Xu-1/+0
2025-06-09Note the version and PR of removed features when using itxizheyin-0/+11
2025-05-29avoid some usages of `&mut P<T>` in AST visitorsDeadbeef-2/+1
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-1/+6
2025-04-30Simplify `LazyAttrTokenStream`.Nicholas Nethercote-4/+4
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-4/+1
2025-04-02Remove `TokenStream::flattened` and `InvisibleOrigin::FlattenToken`.Nicholas Nethercote-6/+0
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-7/+1
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-10/+14
2025-03-17expand: Leave traces when expanding `cfg_attr` attributesVadim Petrochenkov-10/+25
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-1/+1
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-08Add a list of symbols for stable standard library cratesTrevor Gross-10/+7
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-12-16split attributesJonathan Dönszelmann-1/+1
2024-10-25Introduce `Enabled{Lang,Lib}Feature`许杰友 Jieyou Xu (Joe)-6/+15
2024-10-23rename lang feature lists to include LANGRalf Jung-4/+5
2024-10-23remove no longer needd UnstableFeature typeRalf Jung-1/+1
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-4/+4
2024-10-22make some rustc_feature internals private, and ensure invariants with debug a...Ralf Jung-3/+2
2024-10-22terminology: #[feature] *enables* a feature (instead of "declaring" or "activ...Ralf Jung-10/+10
2024-10-07Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner,...bors-3/+3
2024-10-06Auto merge of #129670 - est31:cfg_attr_crate_type_name_error, r=Urgaubors-14/+5
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-3/+3
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-14/+5
2024-10-01Implement boolean lit support in cfg predicatesUrgau-3/+3
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-5/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-07Stabilize `unsafe_attributes`carbotaniuman-11/+2
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-10/+10
2024-07-25Tell users not to file a bug when using internal library featuresMichael Goulet-0/+6
2024-07-24Improve spans on evaluated `cfg_attr`s.Nicholas Nethercote-28/+28
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-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