]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type-alias-impl-trait/bounds-are-checked-2.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / type-alias-impl-trait / bounds-are-checked-2.stderr
index 26a2f4135cb0a8108a0fd9afbe2dcd1691b9dbfc..8678e9b33b5eac3b2e7ec4a13b37c0ee35bc945d 100644 (file)
@@ -1,13 +1,13 @@
 error[E0277]: the trait bound `T: Clone` is not satisfied
-  --> $DIR/bounds-are-checked-2.rs:6:13
+  --> $DIR/bounds-are-checked-2.rs:9:5
    |
-LL | type X<T> = impl Clone;
-   |             ^^^^^^^^^^ the trait `Clone` is not implemented for `T`
+LL |     t
+   |     ^ the trait `Clone` is not implemented for `T`
    |
 help: consider restricting type parameter `T`
    |
-LL | type X<T: Clone> = impl Clone;
-   |         ^^^^^^^
+LL | type X<T: std::clone::Clone> = impl Clone;
+   |         +++++++++++++++++++
 
 error: aborting due to previous error