// check-pass
#![feature(return_position_impl_trait_in_trait)]
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