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 //////////////////////////////////////////////////////////////////////////////// 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() { }