]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/not-clone-closure.stderr
Rollup merge of #91312 - terrarier2111:anon-const-ice, r=jackh726
[rust.git] / src / test / ui / not-clone-closure.stderr
index d7546a5e39801a87ad58eac68371444c7f672b2d..a62c21f2ee97168d4031711f53cb05f1c34e0478 100644 (file)
@@ -11,11 +11,6 @@ LL |       let hello = hello.clone();
    |                         ^^^^^ within `[closure@$DIR/not-clone-closure.rs:7:17: 9:6]`, the trait `Clone` is not implemented for `S`
    |
    = note: required because it appears within the type `[closure@$DIR/not-clone-closure.rs:7:17: 9:6]`
-note: required by `clone`
-  --> $SRC_DIR/core/src/clone.rs:LL:COL
-   |
-LL |     fn clone(&self) -> Self;
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error