// Checks that the impl trait can have generics without the inherent impl having generics.useimpl_trait::impl_trait;structFoo;traitBar<U>{}impl_trait!{implFoo{impltrait<U>Bar<U>{}}}fnstatic_assert_1<T: Bar<U>,U>(_t: T,_u: U){}fnmain(){static_assert_1(Foo,());}