| error[E0277]: the trait bound `T: Trait` is not satisfied |
| --> $DIR/generic_underconstrained.rs:17:1 |
| | |
| LL | existential type Underconstrained<T: Trait>: 'static; //~ ERROR the trait bound `T: Trait` |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T` |
| | |
| = help: consider adding a `where T: Trait` bound |
| = note: the return type of a function must have a statically known size |
| |
| error: aborting due to previous error |
| |
| For more information about this error, try `rustc --explain E0277`. |