1 error: parenthesized parameters may only be used with a trait
2 --> $DIR/issue-32995.rs:14: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 parameters may only be used with a trait
12 --> $DIR/issue-32995.rs:18: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 parameters may only be used with a trait
21 --> $DIR/issue-32995.rs:22:23
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 parameters may only be used with a trait
30 --> $DIR/issue-32995.rs:26:34
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 parameters may only be used with a trait
39 --> $DIR/issue-32995.rs:30:30
41 LL | let o : Box<::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 parameters may only be used with a trait
48 --> $DIR/issue-32995.rs:34:37
50 LL | let o : Box<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 parameters may only be used with a trait
57 --> $DIR/issue-32995.rs:40: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