about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-30 18:04:07 +0000
committerbors <bors@rust-lang.org>2025-08-30 18:04:07 +0000
commit523d3999dcd4bbd9a52661a29dbd7351a9c5fb03 (patch)
tree31e02c92bb7e845aab600d2cb893e0f1f4634a11
parent0f506968010fa987b0d134034d0ccab9eecd9120 (diff)
parentfcd6f284a1d10f8b021b0aec90231f22cff20fbe (diff)
downloadrust-523d3999dcd4bbd9a52661a29dbd7351a9c5fb03.tar.gz
rust-523d3999dcd4bbd9a52661a29dbd7351a9c5fb03.zip
Auto merge of #146029 - JonathanBrouwer:incorrect-fixme, r=jdonszelmann
Remove incorrect fixme on deprecation target

This does actually working suprisingly enough, applying deprecation to all methods in the impl block

r? `@jdonszelmann`
-rw-r--r--compiler/rustc_attr_parsing/src/attributes/deprecation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_attr_parsing/src/attributes/deprecation.rs b/compiler/rustc_attr_parsing/src/attributes/deprecation.rs
index 31c698228ef..f96477e28cd 100644
--- a/compiler/rustc_attr_parsing/src/attributes/deprecation.rs
+++ b/compiler/rustc_attr_parsing/src/attributes/deprecation.rs
@@ -58,7 +58,7 @@ impl<S: Stage> SingleAttributeParser<S> for DeprecationParser {
         Allow(Target::AssocTy),
         Allow(Target::AssocConst),
         Allow(Target::Variant),
-        Allow(Target::Impl { of_trait: false }), //FIXME This does not make sense
+        Allow(Target::Impl { of_trait: false }),
         Allow(Target::Crate),
         Error(Target::WherePredicate),
     ]);