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