about summary refs log tree commit diff
path: root/compiler/rustc_attr_parsing/src/interface.rs
diff options
context:
space:
mode:
authorJana Dönszelmann <jana@donsz.nl>2025-09-10 11:01:34 -0700
committerJana Dönszelmann <jana@donsz.nl>2025-09-13 22:37:20 -0700
commitf56eb060479e6dcb386f7a67fa9f13ae3c31e6f7 (patch)
tree252691dcbd59eafe22d57ad9076634a01659d382 /compiler/rustc_attr_parsing/src/interface.rs
parent60a5372753460ef0db67c2307308a741b17771f3 (diff)
downloadrust-f56eb060479e6dcb386f7a67fa9f13ae3c31e6f7.tar.gz
rust-f56eb060479e6dcb386f7a67fa9f13ae3c31e6f7.zip
merge crate-level into ALLOWED_TARGETS
Diffstat (limited to 'compiler/rustc_attr_parsing/src/interface.rs')
-rw-r--r--compiler/rustc_attr_parsing/src/interface.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_attr_parsing/src/interface.rs b/compiler/rustc_attr_parsing/src/interface.rs
index 0fe3c209421..8f2de4af14e 100644
--- a/compiler/rustc_attr_parsing/src/interface.rs
+++ b/compiler/rustc_attr_parsing/src/interface.rs
@@ -272,7 +272,6 @@ impl<'sess, S: Stage> AttributeParser<'sess, S> {
 
                             (accept.accept_fn)(&mut cx, args);
                             if !matches!(cx.stage.should_emit(), ShouldEmit::Nothing) {
-                                Self::check_type(accept.attribute_type, target, &mut cx);
                                 Self::check_target(&accept.allowed_targets, target, &mut cx);
                             }
                         }