1 `impl Trait` types cannot appear nested in the generic arguments of other
4 Erroneous code example:
7 trait MyGenericTrait<T> {}
11 bar: impl MyGenericTrait<impl MyInnerTrait>, // error!
15 Type parameters for `impl Trait` types must be explicitly defined as named
19 trait MyGenericTrait<T> {}
22 fn foo<T: MyInnerTrait>(
23 bar: impl MyGenericTrait<T>, // ok!