]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/no_send-rc.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / compile-fail / no_send-rc.rs
index 291340e55b856b9e04cb3bc27f674fb821de2dea..c05b17afe1d27bf960eb7217fc6e7f3089efb668 100644 (file)
@@ -15,6 +15,5 @@ fn bar<T: Send>(_: T) {}
 fn main() {
     let x = Rc::new(5i);
     bar(x);
-    //~^ ERROR instantiating a type parameter with an incompatible type `alloc::rc::Rc<int>`,
-    //         which does not fulfill `Send`
+    //~^ ERROR `core::kinds::Send` is not implemented
 }