]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-21763.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-21763.rs
index bcf3a0a9ac62b08bc0d70ebad4ed34216dce5215..cb0baee0a8787d538d5f484dc4bd15f34014cf55 100644 (file)
@@ -17,5 +17,5 @@ fn foo<T: Send>() {}
 
 fn main() {
     foo::<HashMap<Rc<()>, Rc<()>>>();
-    //~^ ERROR: the trait `core::marker::Send` is not implemented for the type `alloc::rc::Rc<()>`
+    //~^ ERROR: `std::rc::Rc<()>: std::marker::Send` is not satisfied
 }