]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/mutable-enum-indirect.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / mutable-enum-indirect.rs
index 1657d602e24c485de42a3591d5006b92899e49fc..cafcabe6279b0b6f0ca675c437302bd1883bb616 100644 (file)
@@ -24,5 +24,5 @@ fn bar<T: Sync>(_: T) {}
 
 fn main() {
     let x = Foo::A(NoSync);
-    bar(&x); //~ ERROR the trait `core::marker::Sync` is not implemented
+    bar(&x); //~ ERROR `NoSync: std::marker::Sync` is not satisfied
 }