1 error: parenthesized type parameters may only be used with a `Fn` trait
2 --> $DIR/issue-32995-2.rs:4:28
4 LL | { fn f<X: ::std::marker()::Send>() {} }
7 = note: #[deny(parenthesized_params_in_types_and_modules)] on by default
8 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
11 error: parenthesized type parameters may only be used with a `Fn` trait
12 --> $DIR/issue-32995-2.rs:8:35
14 LL | { fn f() -> impl ::std::marker()::Send { } }
17 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
18 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
20 error: parenthesized type parameters may only be used with a `Fn` trait
21 --> $DIR/issue-32995-2.rs:16:19
23 LL | impl ::std::marker()::Copy for X {}
26 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
27 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
29 error: aborting due to 3 previous errors