File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_attr_parsing/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub(crate) struct LinkOrdinalParser;
6464
6565impl < S : Stage > SingleAttributeParser < S > for LinkOrdinalParser {
6666 const PATH : & [ Symbol ] = & [ sym:: link_ordinal] ;
67- const ATTRIBUTE_ORDER : AttributeOrder = AttributeOrder :: KeepFirst ;
67+ const ATTRIBUTE_ORDER : AttributeOrder = AttributeOrder :: KeepLast ;
6868 const ON_DUPLICATE : OnDuplicate < S > = OnDuplicate :: Error ;
6969 const TEMPLATE : AttributeTemplate = template ! ( List : "ordinal" ) ;
7070
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use crate::attributes::confusables::ConfusablesParser;
2323use crate :: attributes:: deprecation:: DeprecationParser ;
2424use crate :: attributes:: inline:: { InlineParser , RustcForceInlineParser } ;
2525use crate :: attributes:: link_attrs:: { LinkNameParser , LinkSectionParser , LinkOrdinalParser } ;
26- use crate :: attributes:: lint_helpers:: { AsPtrParser , PubTransparentParser } ;
26+ use crate :: attributes:: lint_helpers:: { AsPtrParser , PubTransparentParser , PassByValueParser } ;
2727use crate :: attributes:: loop_match:: { ConstContinueParser , LoopMatchParser } ;
2828use crate :: attributes:: must_use:: MustUseParser ;
2929use crate :: attributes:: no_implicit_prelude:: NoImplicitPreludeParser ;
You can’t perform that action at this time.
0 commit comments