File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,10 +412,10 @@ The `link_name` attribute may only be applied to a function or static item in an
412412> `rustc ` ignores use in other positions but lints against it. This may become an error in the future.
413413
414414r[items. extern . attributes. link_name. duplicates]
415- Only the last use of `link_name` on an item has effect.
415+ Only the first use of `link_name` on an item has effect.
416416
417417> [! NOTE ]
418- > `rustc` lints against any use preceding the last . This may become an error in the future.
418+ > `rustc` lints against any use following the first with a future - compatibility warning . This may become an error in the future.
419419
420420r[items. extern . attributes. link_name. link_ordinal]
421421The `link_name` attribute may not be used with the [`link_ordinal`] attribute.
You can’t perform that action at this time.
0 commit comments