]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/non-copyable-void.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / non-copyable-void.stderr
index 9b0277186c4fdccac6a6e06ca5e082f3b908f3be..8395a3a056317c0f124d5ce12c1a8e7c3e916d35 100644 (file)
@@ -1,16 +1,16 @@
-error[E0599]: no method named `clone` found for enum `libc::c_void` in the current scope
+error[E0599]: no method named `clone` found for enum `c_void` in the current scope
   --> $DIR/non-copyable-void.rs:11:23
    |
 LL |         let _z = (*y).clone();
-   |                       ^^^^^ method not found in `libc::c_void`
+   |                       ^^^^^ method not found in `c_void`
    | 
   ::: $SRC_DIR/core/src/clone.rs:LL:COL
    |
 LL |     fn clone(&self) -> Self;
    |        -----
    |        |
-   |        the method is available for `std::sync::Arc<libc::c_void>` here
-   |        the method is available for `std::rc::Rc<libc::c_void>` here
+   |        the method is available for `Arc<c_void>` here
+   |        the method is available for `Rc<c_void>` here
 
 error: aborting due to previous error