@@ -122,6 +122,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
122122 match attr {
123123 Attribute :: Parsed (
124124 AttributeKind :: SkipDuringMethodDispatch { span : attr_span, .. }
125+ | AttributeKind :: Coinductive ( attr_span)
125126 | AttributeKind :: ConstTrait ( attr_span)
126127 | AttributeKind :: DenyExplicitImpl ( attr_span)
127128 | AttributeKind :: DoNotImplementViaObject ( attr_span) ,
@@ -270,9 +271,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
270271 | [ sym:: rustc_dirty, ..]
271272 | [ sym:: rustc_if_this_changed, ..]
272273 | [ sym:: rustc_then_this_would_need, ..] => self . check_rustc_dirty_clean ( attr) ,
273- [ sym:: rustc_coinductive, ..]
274- | [ sym:: rustc_must_implement_one_of, ..]
275- => self . check_must_be_applied_to_trait ( attr. span ( ) , span, target) ,
274+ [ sym:: rustc_must_implement_one_of, ..] => self . check_must_be_applied_to_trait ( attr. span ( ) , span, target) ,
276275 [ sym:: collapse_debuginfo, ..] => self . check_collapse_debuginfo ( attr, span, target) ,
277276 [ sym:: must_not_suspend, ..] => self . check_must_not_suspend ( attr, span, target) ,
278277 [ sym:: rustc_pass_by_value, ..] => self . check_pass_by_value ( attr, span, target) ,
0 commit comments