]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/rfc-2203-const-array-repeat-exprs/trait-error.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / consts / rfc-2203-const-array-repeat-exprs / trait-error.stderr
index 186909e469e05ae6f12e93c3a5cdac13ee03ab93..26de67e50fa674224d7e5e69f8c6e8dfa1545a20 100644 (file)
@@ -1,11 +1,11 @@
-error[E0277]: the trait bound `Foo<std::string::String>: std::marker::Copy` is not satisfied
-  --> $DIR/trait-error.rs:8:5
+error[E0277]: the trait bound `Foo<String>: Copy` is not satisfied
+  --> $DIR/trait-error.rs:7:5
    |
 LL |     [Foo(String::new()); 4];
-   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `Foo<std::string::String>`
+   |     ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Foo<String>`
    |
    = help: the following implementations were found:
-             <Foo<T> as std::marker::Copy>
+             <Foo<T> as Copy>
    = note: the `Copy` trait is required because the repeated element will be copied
 
 error: aborting due to previous error