]>
Commit | Line | Data |
---|---|---|
8faf50e0 XL |
1 | error[E0277]: the trait bound `T: Trait` is not satisfied |
2 | --> $DIR/generic_underconstrained.rs:17:1 | |
3 | | | |
4 | LL | 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 | ||
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0277`. |