]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/no_share-struct.stderr
Rollup merge of #80398 - CAD97:fix-80365, r=dtolnay
[rust.git] / src / test / ui / no_share-struct.stderr
index f14b06835f9da498667a3f1f43e70b021f7a6d00..a35271a8b78c7e198f447935f052b2c84caa44d0 100644 (file)
@@ -7,7 +7,7 @@ LL | fn bar<T: Sync>(_: T) {}
 LL |     bar(x);
    |         ^ `Foo` cannot be shared between threads safely
    |
-   = help: the trait `std::marker::Sync` is not implemented for `Foo`
+   = help: the trait `Sync` is not implemented for `Foo`
 
 error: aborting due to previous error