// option. This file may not be copied, modified, or distributed
// except according to those terms.
-fn test<T: Freeze>() {}
+fn test<T: Sync>() {}
fn main() {
- test::<Chan<int>>(); //~ ERROR: does not fulfill `Freeze`
- test::<Port<int>>(); //~ ERROR: does not fulfill `Freeze`
- test::<SharedChan<int>>(); //~ ERROR: does not fulfill `Freeze`
+ test::<Sender<int>>(); //~ ERROR: `core::kinds::Sync` is not implemented
+ test::<Receiver<int>>(); //~ ERROR: `core::kinds::Sync` is not implemented
+ test::<Sender<int>>(); //~ ERROR: `core::kinds::Sync` is not implemented
}