]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/trait-alias/trait-alias-cross-crate.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / traits / trait-alias / trait-alias-cross-crate.stderr
index 04c86cb240341f43e092d41095321022450a4d6b..60a4a46a0556dd7de199b3a0c371615f0517fb07 100644 (file)
@@ -1,24 +1,24 @@
-error[E0277]: `std::rc::Rc<u32>` cannot be sent between threads safely
+error[E0277]: `Rc<u32>` cannot be sent between threads safely
   --> $DIR/trait-alias-cross-crate.rs:14:17
    |
 LL | fn use_alias<T: SendSync>() {}
    |                 -------- required by this bound in `use_alias`
 ...
 LL |     use_alias::<Rc<u32>>();
-   |                 ^^^^^^^ `std::rc::Rc<u32>` cannot be sent between threads safely
+   |                 ^^^^^^^ `Rc<u32>` cannot be sent between threads safely
    |
-   = help: the trait `std::marker::Send` is not implemented for `std::rc::Rc<u32>`
+   = help: the trait `Send` is not implemented for `Rc<u32>`
 
-error[E0277]: `std::rc::Rc<u32>` cannot be shared between threads safely
+error[E0277]: `Rc<u32>` cannot be shared between threads safely
   --> $DIR/trait-alias-cross-crate.rs:14:17
    |
 LL | fn use_alias<T: SendSync>() {}
    |                 -------- required by this bound in `use_alias`
 ...
 LL |     use_alias::<Rc<u32>>();
-   |                 ^^^^^^^ `std::rc::Rc<u32>` cannot be shared between threads safely
+   |                 ^^^^^^^ `Rc<u32>` cannot be shared between threads safely
    |
-   = help: the trait `std::marker::Sync` is not implemented for `std::rc::Rc<u32>`
+   = help: the trait `Sync` is not implemented for `Rc<u32>`
 
 error: aborting due to 2 previous errors