```rust struct BinOpInvalid { lhs: i32, rhs: i32, f: impl Fn(i32) -> i32, // { dg-error "impl Trait not allowed here" } } ```