diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-11-11 21:46:45 -0500 |
|---|---|---|
| committer | Luqman Aden <me@luqman.ca> | 2014-11-17 15:24:35 -0500 |
| commit | 33893aebcf19f6bf7e0102406117afa34a955425 (patch) | |
| tree | 8d5ee090bfa2e32101967243b1d7ba297797e089 | |
| parent | acd890d96da88d93a2fd0c9b8e37ed111b17a62f (diff) | |
librustc: Whitelist linkage attribute for unused attribute lint since it's processed during trans.
| -rw-r--r-- | src/librustc/lint/builtin.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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", |
