fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error: parenthesized type parameters may only be used with a `Fn` trait 2 --> $DIR/issue-32995-2.rs:4:22 3 | 4LL | { fn f<X: ::std::marker()::Send>() {} } 5 | ^^^^^^^^ 6 | 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> 10 11error: parenthesized type parameters may only be used with a `Fn` trait 12 --> $DIR/issue-32995-2.rs:8:29 13 | 14LL | { fn f() -> impl ::std::marker()::Send { } } 15 | ^^^^^^^^ 16 | 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> 19 20error: parenthesized type parameters may only be used with a `Fn` trait 21 --> $DIR/issue-32995-2.rs:16:13 22 | 23LL | impl ::std::marker()::Copy for X {} 24 | ^^^^^^^^ 25 | 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> 28 29error: aborting due to 3 previous errors 30