@@ -122,6 +122,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
122
122
match attr {
123
123
Attribute :: Parsed (
124
124
AttributeKind :: SkipDuringMethodDispatch { span : attr_span, .. }
125
+ | AttributeKind :: Coinductive ( attr_span)
125
126
| AttributeKind :: ConstTrait ( attr_span)
126
127
| AttributeKind :: DenyExplicitImpl ( attr_span)
127
128
| AttributeKind :: DoNotImplementViaObject ( attr_span) ,
@@ -299,9 +300,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
299
300
| [ sym:: rustc_dirty, ..]
300
301
| [ sym:: rustc_if_this_changed, ..]
301
302
| [ sym:: rustc_then_this_would_need, ..] => self . check_rustc_dirty_clean ( attr) ,
302
- [ sym:: rustc_coinductive, ..]
303
- | [ sym:: rustc_must_implement_one_of, ..]
304
- => self . check_must_be_applied_to_trait ( attr. span ( ) , span, target) ,
303
+ [ sym:: rustc_must_implement_one_of, ..] => self . check_must_be_applied_to_trait ( attr. span ( ) , span, target) ,
305
304
[ sym:: collapse_debuginfo, ..] => self . check_collapse_debuginfo ( attr, span, target) ,
306
305
[ sym:: must_not_suspend, ..] => self . check_must_not_suspend ( attr, span, target) ,
307
306
[ sym:: rustc_allow_incoherent_impl, ..] => {
0 commit comments