From b667fab292607a761790036c25899b8d88a8ac9f Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Sat, 20 Jun 2015 19:51:46 -0700 Subject: [PATCH 1/2] remove redundant Send and Sync impl from Vec --- src/libcollections/vec.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 54528c50f1d1e..bc4af5680ca98 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -157,9 +157,6 @@ pub struct Vec { cap: usize, } -unsafe impl Send for Vec { } -unsafe impl Sync for Vec { } - //////////////////////////////////////////////////////////////////////////////// // Inherent methods //////////////////////////////////////////////////////////////////////////////// From 3f56e9a984075fecfe757ab5774072f73bb86b1b Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Sun, 21 Jun 2015 16:16:14 -0700 Subject: [PATCH 2/2] remove erroneous error check --- src/test/compile-fail/coherence-orphan.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/compile-fail/coherence-orphan.rs b/src/test/compile-fail/coherence-orphan.rs index 78435f1a78a16..80efc7b75e2c7 100644 --- a/src/test/compile-fail/coherence-orphan.rs +++ b/src/test/compile-fail/coherence-orphan.rs @@ -27,6 +27,5 @@ impl TheTrait for TheType { } impl !Send for Vec { } //~^ ERROR E0117 -//~| ERROR E0119 fn main() { }