We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d3b0f1 + 3f56e9a commit 7809e76Copy full SHA for 7809e76
src/libcollections/vec.rs
@@ -157,9 +157,6 @@ pub struct Vec<T> {
157
cap: usize,
158
}
159
160
-unsafe impl<T: Send> Send for Vec<T> { }
161
-unsafe impl<T: Sync> Sync for Vec<T> { }
162
-
163
////////////////////////////////////////////////////////////////////////////////
164
// Inherent methods
165
src/test/compile-fail/coherence-orphan.rs
@@ -27,6 +27,5 @@ impl TheTrait<isize> for TheType { }
27
28
impl !Send for Vec<isize> { }
29
//~^ ERROR E0117
30
-//~| ERROR E0119
31
32
fn main() { }
0 commit comments