// Checks that #[impl_trait] works with generics. use impl_trait::impl_trait; struct Foo(T); trait Bar { } impl_trait! { impl Foo { } } fn main() {}