1 error: parenthesized type parameters may only be used with a `Fn` trait
2 --> $DIR/issue-32995.rs:4:17
4 LL | let x: usize() = 1;
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.rs:8:24
14 LL | let b: ::std::boxed()::Box<_> = Box::new(1);
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.rs:12:25
23 LL | let p = ::std::str::()::from_utf8(b"foo").unwrap();
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: parenthesized type parameters may only be used with a `Fn` trait
30 --> $DIR/issue-32995.rs:16:36
32 LL | let p = ::std::str::from_utf8::()(b"foo").unwrap();
35 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
36 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
38 error: parenthesized type parameters may only be used with a `Fn` trait
39 --> $DIR/issue-32995.rs:20:35
41 LL | let o : Box<dyn (::std::marker()::Send)> = Box::new(1);
44 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
45 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
47 error: parenthesized type parameters may only be used with a `Fn` trait
48 --> $DIR/issue-32995.rs:24:41
50 LL | let o : Box<dyn Send + ::std::marker()::Sync> = Box::new(1);
53 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
54 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
56 error: parenthesized type parameters may only be used with a `Fn` trait
57 --> $DIR/issue-32995.rs:30:14
59 LL | let d : X() = Default::default();
62 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
63 = note: for more information, see issue #42238 <https://github.com/rust-lang/rust/issues/42238>
65 error: aborting due to 7 previous errors