2 // ignore-compare-mode-chalk
4 #![feature(type_alias_impl_trait)]
9 fn foo<T>() -> Self::E;
13 type E = impl std::marker::Copy;
14 //~^ ERROR the trait bound `impl Future: Copy` is not satisfied [E0277]
15 fn foo<T>() -> Self::E {
16 //~^ ERROR type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias