]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/comm-not-freeze.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / comm-not-freeze.rs
index 5820818167cbdd4902c8cf530e60b0c064ec211a..b6277a3e2bd9863fbc9b07063826ef9809174145 100644 (file)
@@ -11,7 +11,7 @@
 fn test<T: Sync>() {}
 
 fn main() {
-    test::<Sender<int>>();        //~ ERROR: does not fulfill `Sync`
-    test::<Receiver<int>>();        //~ ERROR: does not fulfill `Sync`
-    test::<Sender<int>>();  //~ ERROR: does not fulfill `Sync`
+    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
 }