about summary refs log tree commit diff
path: root/src/liballoc/arc.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-10 00:39:29 +0000
committerbors <bors@rust-lang.org>2015-10-10 00:39:29 +0000
commit87cd2c08273dec5c8db8e59f4231b8e69aa9b85b (patch)
tree24c7c70c06fbcd88be686bcf4e11d5ffc10aa27c /src/liballoc/arc.rs
parent439311d9382abd5d22c9068f3f158d3b9ef6d1c9 (diff)
parenta445f234a64cdbbf946af012b94dccf91447b5ff (diff)
downloadrust-87cd2c08273dec5c8db8e59f4231b8e69aa9b85b.tar.gz
rust-87cd2c08273dec5c8db8e59f4231b8e69aa9b85b.zip
Auto merge of #28861 - pnkfelix:fsk-nonparam-dropck-issue28498, r=arielb1
implement RFC 1238: nonparametric dropck.

cc #28498 

cc @nikomatsakis 
Diffstat (limited to 'src/liballoc/arc.rs')
-rw-r--r--src/liballoc/arc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index f66f1f13dcb..36989c2daad 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -550,6 +550,7 @@ impl<T: ?Sized> Drop for Arc<T> {
     ///
     /// } // implicit drop
     /// ```
+    #[unsafe_destructor_blind_to_params]
     #[inline]
     fn drop(&mut self) {
         // This structure has #[unsafe_no_drop_flag], so this drop glue may run