@@ -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 } ;
@@ -204,7 +204,6 @@ attribute_parsers!(
204204 Single <WithoutArgs <AllowInternalUnsafeParser >>,
205205 Single <WithoutArgs <AsPtrParser >>,
206206 Single <WithoutArgs <AutomaticallyDerivedParser >>,
207- Single <WithoutArgs <CoherenceIsCoreParser >>,
208207 Single <WithoutArgs <CoinductiveParser >>,
209208 Single <WithoutArgs <ColdParser >>,
210209 Single <WithoutArgs <ConstContinueParser >>,
@@ -232,6 +231,7 @@ attribute_parsers!(
232231 Single <WithoutArgs <ProcMacroAttributeParser >>,
233232 Single <WithoutArgs <ProcMacroParser >>,
234233 Single <WithoutArgs <PubTransparentParser >>,
234+ Single <WithoutArgs <RustcCoherenceIsCoreParser >>,
235235 Single <WithoutArgs <SpecializationTraitParser >>,
236236 Single <WithoutArgs <StdInternalSymbolParser >>,
237237 Single <WithoutArgs <TrackCallerParser >>,
0 commit comments