Port #[rustc_coinductive] to the new attribute system

This commit is contained in:
Pavel Grigorenko
2025-06-24 00:27:30 +03:00
parent adb325fc16
commit 6f8e92d5aa
7 changed files with 17 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ use crate::attributes::stability::{
};
use crate::attributes::test_attrs::IgnoreParser;
use crate::attributes::traits::{
ConstTraitParser, DenyExplicitImplParser, DoNotImplementViaObjectParser,
CoinductiveParser, ConstTraitParser, DenyExplicitImplParser, DoNotImplementViaObjectParser,
SkipDuringMethodDispatchParser,
};
use crate::attributes::transparency::TransparencyParser;
@@ -150,6 +150,7 @@ attribute_parsers!(
Single<SkipDuringMethodDispatchParser>,
Single<TransparencyParser>,
Single<WithoutArgs<AsPtrParser>>,
Single<WithoutArgs<CoinductiveParser>>,
Single<WithoutArgs<ColdParser>>,
Single<WithoutArgs<ConstContinueParser>>,
Single<WithoutArgs<ConstStabilityIndirectParser>>,