1 error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
2 --> $DIR/issue-32995-2.rs:2:22
4 LL | { fn f<X: ::std::marker()::Send>() {} }
5 | ^^^^^^^^ only `Fn` traits may use parentheses
7 error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
8 --> $DIR/issue-32995-2.rs:5:29
10 LL | { fn f() -> impl ::std::marker()::Send { } }
11 | ^^^^^^^^ only `Fn` traits may use parentheses
13 error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
14 --> $DIR/issue-32995-2.rs:12:13
16 LL | impl ::std::marker()::Copy for X {}
17 | ^^^^^^^^ only `Fn` traits may use parentheses
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0214`.