1 // build-pass (FIXME(62277): could be check-pass?)
3 #![feature(type_alias_impl_trait)]
7 // two definitions with different types
8 type Foo = impl std::fmt::Debug;
14 fn bar(arg: bool) -> Foo {
22 fn boo(arg: bool) -> Foo {
30 fn bar2(arg: bool) -> Foo {
38 fn boo2(arg: bool) -> Foo {