// check-pass
#![feature(return_position_impl_trait_in_trait)]
//~^ WARN the feature `return_position_impl_trait_in_trait` is incomplete
struct TestA {}
struct TestB {}
impl TestTrait for TestA {
type Output = ();
}
impl TestTrait for TestB {
type Output = ();
}
trait TestTrait {
type Output;
}
impl TestTrait for GreeterOutput
where
A: TestTrait