]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-7364.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-7364.rs
index 87b7b73d57dbd41b18b560199588bb21b0339b64..16b407baad178eece4faea4a35123d70b206a406 100644 (file)
@@ -16,6 +16,6 @@ use std::cell::RefCell;
 // Regression test for issue 7364
 static boxed: Box<RefCell<isize>> = box RefCell::new(0);
 //~^ ERROR allocations are not allowed in statics
-//~| ERROR the trait `core::marker::Sync` is not implemented for the type
+//~| ERROR `std::cell::RefCell<isize>: std::marker::Sync` is not satisfied
 
 fn main() { }