#![feature(type_alias_impl_trait)] fn main() {} trait Trait {} type Underconstrained = impl Send; // no `Trait` bound fn underconstrain(_: T) -> Underconstrained { //~^ ERROR the trait bound `T: Trait` unimplemented!() }