Rollup merge of #26464 - Gankro:send, r=alexcrichton

Vec contains `Unique<T>` and some usizes, this is already derived.
This commit is contained in:
Steve Klabnik 2015-07-05 15:12:19 -04:00
commit 2e78d3705f
2 changed files with 0 additions and 4 deletions

View file

@ -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
////////////////////////////////////////////////////////////////////////////////

View file

@ -27,6 +27,5 @@ impl TheTrait<isize> for TheType { }
impl !Send for Vec<isize> { }
//~^ ERROR E0117
//~| ERROR E0119
fn main() { }