From 33893aebcf19f6bf7e0102406117afa34a955425 Mon Sep 17 00:00:00 2001 From: Luqman Aden Date: Tue, 11 Nov 2014 21:46:45 -0500 Subject: [PATCH] librustc: Whitelist linkage attribute for unused attribute lint since it's processed during trans. --- src/librustc/lint/builtin.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 3026e047626..9f394cb4c7a 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -619,6 +619,7 @@ impl LintPass for UnusedAttributes { "link", "link_name", "link_section", + "linkage", "no_builtins", "no_mangle", "no_split_stack",