@@ -26,7 +26,7 @@ use crate::attributes::codegen_attrs::{
2626use crate :: attributes:: confusables:: ConfusablesParser ;
2727use crate :: attributes:: crate_level:: {
2828 CrateNameParser , MoveSizeLimitParser , NoCoreParser , NoStdParser , PatternComplexityLimitParser ,
29- RecursionLimitParser , TypeLengthLimitParser ,
29+ RecursionLimitParser , RustcCoherenceIsCoreParser , TypeLengthLimitParser ,
3030} ;
3131use crate :: attributes:: deprecation:: DeprecationParser ;
3232use crate :: attributes:: dummy:: DummyParser ;
@@ -61,10 +61,10 @@ use crate::attributes::stability::{
6161} ;
6262use crate :: attributes:: test_attrs:: { IgnoreParser , ShouldPanicParser } ;
6363use crate :: attributes:: traits:: {
64- AllowIncoherentImplParser , CoherenceIsCoreParser , CoinductiveParser , ConstTraitParser ,
65- DenyExplicitImplParser , DoNotImplementViaObjectParser , FundamentalParser , MarkerParser ,
66- ParenSugarParser , PointeeParser , SkipDuringMethodDispatchParser , SpecializationTraitParser ,
67- TypeConstParser , UnsafeSpecializationMarkerParser ,
64+ AllowIncoherentImplParser , CoinductiveParser , ConstTraitParser , DenyExplicitImplParser ,
65+ DoNotImplementViaObjectParser , FundamentalParser , MarkerParser , ParenSugarParser ,
66+ PointeeParser , SkipDuringMethodDispatchParser , SpecializationTraitParser , TypeConstParser ,
67+ UnsafeSpecializationMarkerParser ,
6868} ;
6969use crate :: attributes:: transparency:: TransparencyParser ;
7070use crate :: attributes:: { AttributeParser as _, Combine , Single , WithoutArgs } ;
@@ -206,7 +206,6 @@ attribute_parsers!(
206206 Single <WithoutArgs <AllowInternalUnsafeParser >>,
207207 Single <WithoutArgs <AsPtrParser >>,
208208 Single <WithoutArgs <AutomaticallyDerivedParser >>,
209- Single <WithoutArgs <CoherenceIsCoreParser >>,
210209 Single <WithoutArgs <CoinductiveParser >>,
211210 Single <WithoutArgs <ColdParser >>,
212211 Single <WithoutArgs <ConstContinueParser >>,
@@ -234,6 +233,7 @@ attribute_parsers!(
234233 Single <WithoutArgs <ProcMacroAttributeParser >>,
235234 Single <WithoutArgs <ProcMacroParser >>,
236235 Single <WithoutArgs <PubTransparentParser >>,
236+ Single <WithoutArgs <RustcCoherenceIsCoreParser >>,
237237 Single <WithoutArgs <SpecializationTraitParser >>,
238238 Single <WithoutArgs <StdInternalSymbolParser >>,
239239 Single <WithoutArgs <TrackCallerParser >>,
0 commit comments