]> git.proxmox.com Git - rustc.git/blame - src/test/ui/existential_types/generic_underconstrained.stderr
New upstream version 1.29.0+dfsg1
[rustc.git] / src / test / ui / existential_types / generic_underconstrained.stderr
CommitLineData
8faf50e0
XL
1error[E0277]: the trait bound `T: Trait` is not satisfied
2 --> $DIR/generic_underconstrained.rs:17:1
3 |
4LL | existential type Underconstrained<T: Trait>: 'static; //~ ERROR the trait bound `T: Trait`
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T`
6 |
7 = help: consider adding a `where T: Trait` bound
8 = note: the return type of a function must have a statically known size
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.