1 error: at least one trait must be specified
2 --> $DIR/generic_underconstrained.rs:9:35
4 LL | type Underconstrained<T: Trait> = impl 'static;
7 error[E0277]: the trait bound `T: Trait` is not satisfied
8 --> $DIR/generic_underconstrained.rs:13:31
10 LL | type Underconstrained<T: Trait> = impl 'static;
11 | ----- required by this bound in `Underconstrained`
13 LL | fn underconstrain<T>(_: T) -> Underconstrained<T> {
14 | ^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `T`
16 help: consider restricting type parameter `T`
18 LL | fn underconstrain<T: Trait>(_: T) -> Underconstrained<T> {
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0277`.