diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-05-14 14:19:46 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-05-14 14:19:46 +0200 |
| commit | 2adc6da7aa4f3f8cb646b8f7b7759e73c98ade12 (patch) | |
| tree | 223d4cab40faea7047462eb35978c181824b3449 /src/libsyntax | |
| parent | 80e7cde2238e837a9d6a240af9a3253f469bb2cf (diff) | |
| download | rust-2adc6da7aa4f3f8cb646b8f7b7759e73c98ade12.tar.gz rust-2adc6da7aa4f3f8cb646b8f7b7759e73c98ade12.zip | |
Fix incremental compilation of cdylib emitting spurious unused_attributes lint
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 8a066f3f4a0..5b1a9bb739f 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -998,7 +998,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ (sym::repr, Normal, template!(List: "C, packed, ..."), Ungated), (sym::path, Normal, template!(NameValueStr: "file"), Ungated), (sym::automatically_derived, Normal, template!(Word), Ungated), - (sym::no_mangle, Normal, template!(Word), Ungated), + (sym::no_mangle, Whitelisted, template!(Word), Ungated), (sym::no_link, Normal, template!(Word), Ungated), (sym::derive, Normal, template!(List: "Trait1, Trait2, ..."), Ungated), ( |
