diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/not-sync.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/compile-fail/not-sync.rs b/src/test/compile-fail/not-sync.rs index aa7a83a7baa..12c29279178 100644 --- a/src/test/compile-fail/not-sync.rs +++ b/src/test/compile-fail/not-sync.rs @@ -10,7 +10,7 @@ use std::cell::{Cell, RefCell}; use std::rc::{Rc, Weak}; -use std::sync::mpsc::{Receiver, Sender, SyncSender}; +use std::sync::mpsc::{Receiver, Sender}; fn test<T: Sync>() {} @@ -29,6 +29,4 @@ fn main() { //~^ ERROR `std::sync::mpsc::Receiver<i32>: std::marker::Sync` is not satisfied test::<Sender<i32>>(); //~^ ERROR `std::sync::mpsc::Sender<i32>: std::marker::Sync` is not satisfied - test::<SyncSender<i32>>(); - //~^ ERROR `std::sync::mpsc::SyncSender<i32>: std::marker::Sync` is not satisfied } |
