Rollup merge of #26464 - Gankro:send, r=alexcrichton
Vec contains `Unique<T>` and some usizes, this is already derived.
This commit is contained in:
commit
2e78d3705f
2 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -27,6 +27,5 @@ impl TheTrait<isize> for TheType { }
|
|||
|
||||
impl !Send for Vec<isize> { }
|
||||
//~^ ERROR E0117
|
||||
//~| ERROR E0119
|
||||
|
||||
fn main() { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue