librustc: Whitelist linkage attribute for unused attribute lint since it's processed during trans.
This commit is contained in:
parent
acd890d96d
commit
33893aebcf
@ -619,6 +619,7 @@ impl LintPass for UnusedAttributes {
|
|||||||
"link",
|
"link",
|
||||||
"link_name",
|
"link_name",
|
||||||
"link_section",
|
"link_section",
|
||||||
|
"linkage",
|
||||||
"no_builtins",
|
"no_builtins",
|
||||||
"no_mangle",
|
"no_mangle",
|
||||||
"no_split_stack",
|
"no_split_stack",
|
||||||
|
Loading…
Reference in New Issue
Block a user