// Checks that #[impl_trait] doesn't work on a trait impl. use impl_trait::impl_trait; struct Foo { } trait Bar { } impl_trait! { impl Bar for Foo { } } fn main() {}