Skip to content

Commit 523d399

Browse files
committed
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`
2 parents 0f50696 + fcd6f28 commit 523d399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_attr_parsing/src/attributes/deprecation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl<S: Stage> SingleAttributeParser<S> for DeprecationParser {
5858
Allow(Target::AssocTy),
5959
Allow(Target::AssocConst),
6060
Allow(Target::Variant),
61-
Allow(Target::Impl { of_trait: false }), //FIXME This does not make sense
61+
Allow(Target::Impl { of_trait: false }),
6262
Allow(Target::Crate),
6363
Error(Target::WherePredicate),
6464
]);

0 commit comments

Comments
 (0)