]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/recursion/recursive-requirements.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / recursion / recursive-requirements.stderr
index 0237675aee4d5010b674f542bd91fb7806bd38b3..6c0be0f7f8d7760a07339dda2e722d73cbc2b8b3 100644 (file)
@@ -7,7 +7,7 @@ LL | struct AssertSync<T: Sync>(PhantomData<T>);
 LL |     let _: AssertSync<Foo> = unimplemented!();
    |            ^^^^^^^^^^^^^^^ `*const Bar` cannot be shared between threads safely
    |
-   = help: within `Foo`, the trait `std::marker::Sync` is not implemented for `*const Bar`
+   = help: within `Foo`, the trait `Sync` is not implemented for `*const Bar`
    = note: required because it appears within the type `Foo`
 
 error[E0277]: `*const Foo` cannot be shared between threads safely
@@ -19,9 +19,9 @@ LL | struct AssertSync<T: Sync>(PhantomData<T>);
 LL |     let _: AssertSync<Foo> = unimplemented!();
    |            ^^^^^^^^^^^^^^^ `*const Foo` cannot be shared between threads safely
    |
-   = help: within `Foo`, the trait `std::marker::Sync` is not implemented for `*const Foo`
+   = help: within `Foo`, the trait `Sync` is not implemented for `*const Foo`
    = note: required because it appears within the type `Bar`
-   = note: required because it appears within the type `std::marker::PhantomData<Bar>`
+   = note: required because it appears within the type `PhantomData<Bar>`
    = note: required because it appears within the type `Foo`
 
 error: aborting due to 2 previous errors