diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-09-10 11:01:34 -0700 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-09-13 22:37:20 -0700 |
| commit | f56eb060479e6dcb386f7a67fa9f13ae3c31e6f7 (patch) | |
| tree | 252691dcbd59eafe22d57ad9076634a01659d382 /compiler/rustc_attr_parsing/src/context.rs | |
| parent | 60a5372753460ef0db67c2307308a741b17771f3 (diff) | |
| download | rust-f56eb060479e6dcb386f7a67fa9f13ae3c31e6f7.tar.gz rust-f56eb060479e6dcb386f7a67fa9f13ae3c31e6f7.zip | |
merge crate-level into ALLOWED_TARGETS
Diffstat (limited to 'compiler/rustc_attr_parsing/src/context.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/context.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_attr_parsing/src/context.rs b/compiler/rustc_attr_parsing/src/context.rs index b3ab1d3edd6..d7998048be5 100644 --- a/compiler/rustc_attr_parsing/src/context.rs +++ b/compiler/rustc_attr_parsing/src/context.rs @@ -6,7 +6,7 @@ use std::sync::LazyLock; use private::Sealed; use rustc_ast::{AttrStyle, CRATE_NODE_ID, MetaItemLit, NodeId}; use rustc_errors::{Diag, Diagnostic, Level}; -use rustc_feature::{AttributeTemplate, AttributeType}; +use rustc_feature::AttributeTemplate; use rustc_hir::attrs::AttributeKind; use rustc_hir::lints::{AttributeLint, AttributeLintKind}; use rustc_hir::{AttrPath, CRATE_HIR_ID, HirId}; @@ -83,7 +83,6 @@ pub(super) struct GroupTypeInnerAccept<S: Stage> { pub(super) template: AttributeTemplate, pub(super) accept_fn: AcceptFn<S>, pub(super) allowed_targets: AllowedTargets, - pub(super) attribute_type: AttributeType, } type AcceptFn<S> = @@ -133,7 +132,6 @@ macro_rules! attribute_parsers { }) }), allowed_targets: <$names as crate::attributes::AttributeParser<$stage>>::ALLOWED_TARGETS, - attribute_type: <$names as crate::attributes::AttributeParser<$stage>>::TYPE, }); } |
