diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-20 23:03:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-20 23:03:00 +0200 |
| commit | 36b5724e0dd7a328f5065cbf1188e114c2e5a1b3 (patch) | |
| tree | 7bc87c5cce2e4d7750b9b6cdfc0184cce8bffb34 /src/libsyntax | |
| parent | a34dae35874a5b33fb2895dcf15463f7f4bd9af3 (diff) | |
| parent | e92d13ea2e84586ce17790946ae4241777a9778f (diff) | |
| download | rust-36b5724e0dd7a328f5065cbf1188e114c2e5a1b3.tar.gz rust-36b5724e0dd7a328f5065cbf1188e114c2e5a1b3.zip | |
Rollup merge of #60823 - oli-obk:used_unused_no_mangle, r=michaelwoerister
Fix incremental compilation of cdylib emitting spurious unused_attributes lint fixes #60050
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), ( |
