about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcollections/vec.rs3
-rw-r--r--src/test/compile-fail/coherence-orphan.rs1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 5b326b1a5b0..c032471b6b6 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -157,9 +157,6 @@ pub struct Vec<T> {
     cap: usize,
 }
 
-unsafe impl<T: Send> Send for Vec<T> { }
-unsafe impl<T: Sync> Sync for Vec<T> { }
-
 ////////////////////////////////////////////////////////////////////////////////
 // Inherent methods
 ////////////////////////////////////////////////////////////////////////////////
diff --git a/src/test/compile-fail/coherence-orphan.rs b/src/test/compile-fail/coherence-orphan.rs
index 78435f1a78a..80efc7b75e2 100644
--- a/src/test/compile-fail/coherence-orphan.rs
+++ b/src/test/compile-fail/coherence-orphan.rs
@@ -27,6 +27,5 @@ impl TheTrait<isize> for TheType { }
 
 impl !Send for Vec<isize> { }
 //~^ ERROR E0117
-//~| ERROR E0119
 
 fn main() { }