]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coherence/impl[t]-foreign-for-foreign[t].stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / coherence / impl[t]-foreign-for-foreign[t].stderr
index 95889022bd7a162f4e3228cc367f9ba1edf3c64e..7f8ec83b24a8b9d39798d4204e8df52c2b2ca79c 100644 (file)
@@ -4,7 +4,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
 LL | impl Remote for Rc<Local> {
    | ^^^^^^^^^^^^^^^^---------
    | |               |
-   | |               `std::rc::Rc` is not defined in the current crate
+   | |               `Rc` is not defined in the current crate
    | impl doesn't use only types from inside the current crate
    |
    = note: define and implement a trait or new type instead
@@ -15,7 +15,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
 LL | impl<T> Remote for Arc<T> {
    | ^^^^^^^^^^^^^^^^^^^------
    | |                  |
-   | |                  `std::sync::Arc` is not defined in the current crate
+   | |                  `Arc` is not defined in the current crate
    | impl doesn't use only types from inside the current crate
    |
    = note: define and implement a trait or new type instead