]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/bound/on-structs-and-enums-in-impls.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / bound / on-structs-and-enums-in-impls.stderr
CommitLineData
b7449926 1error[E0277]: the trait bound `u16: Trait` is not satisfied
6a06907d 2 --> $DIR/on-structs-and-enums-in-impls.rs:20:6
b7449926 3 |
e1599b0c 4LL | struct Foo<T:Trait> {
ba9703b0 5 | ----- required by this bound in `Foo`
e1599b0c 6...
b7449926
XL
7LL | impl PolyTrait<Foo<u16>> for Struct {
8 | ^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `u16`
b7449926
XL
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.