]> git.proxmox.com Git - rustc.git/blob - src/test/ui/structs/struct-path-alias-bounds.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / structs / struct-path-alias-bounds.stderr
1 error[E0277]: the trait bound `NoClone: Clone` is not satisfied
2 --> $DIR/struct-path-alias-bounds.rs:9:13
3 |
4 LL | struct S<T: Clone> { a: T }
5 | ------------------ required by `S`
6 ...
7 LL | let s = A { a: NoClone };
8 | ^ the trait `Clone` is not implemented for `NoClone`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.