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;
64
64
65
65
impl < S : Stage > SingleAttributeParser < S > for LinkOrdinalParser {
66
66
const PATH : & [ Symbol ] = & [ sym:: link_ordinal] ;
67
- const ATTRIBUTE_ORDER : AttributeOrder = AttributeOrder :: KeepFirst ;
67
+ const ATTRIBUTE_ORDER : AttributeOrder = AttributeOrder :: KeepLast ;
68
68
const ON_DUPLICATE : OnDuplicate < S > = OnDuplicate :: Error ;
69
69
const TEMPLATE : AttributeTemplate = template ! ( List : "ordinal" ) ;
70
70
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use crate::attributes::confusables::ConfusablesParser;
23
23
use crate :: attributes:: deprecation:: DeprecationParser ;
24
24
use crate :: attributes:: inline:: { InlineParser , RustcForceInlineParser } ;
25
25
use crate :: attributes:: link_attrs:: { LinkNameParser , LinkSectionParser , LinkOrdinalParser } ;
26
- use crate :: attributes:: lint_helpers:: { AsPtrParser , PubTransparentParser } ;
26
+ use crate :: attributes:: lint_helpers:: { AsPtrParser , PubTransparentParser , PassByValueParser } ;
27
27
use crate :: attributes:: loop_match:: { ConstContinueParser , LoopMatchParser } ;
28
28
use crate :: attributes:: must_use:: MustUseParser ;
29
29
use crate :: attributes:: no_implicit_prelude:: NoImplicitPreludeParser ;
You can’t perform that action at this time.
0 commit comments