1 error[E0658]: destructuring assignments are unstable
2 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
4 LL | let _: usize = foo(_, _);
7 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
8 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
10 error[E0658]: destructuring assignments are unstable
11 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:27
13 LL | let _: usize = foo(_, _);
16 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
17 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
19 error[E0658]: destructuring assignments are unstable
20 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:18
22 LL | let _: S = S(_, _);
25 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
26 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
28 error[E0658]: destructuring assignments are unstable
29 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:21
31 LL | let _: S = S(_, _);
34 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
35 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
37 error[E0658]: destructuring assignments are unstable
38 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:27
40 LL | let _: usize = T::baz(_, _);
43 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
44 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
46 error[E0658]: destructuring assignments are unstable
47 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:30
49 LL | let _: usize = T::baz(_, _);
52 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
53 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
55 error: in expressions, `_` can only be used on the left-hand side of an assignment
56 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
58 LL | let _: usize = foo(_, _);
59 | ^ `_` not allowed here
61 error: in expressions, `_` can only be used on the left-hand side of an assignment
62 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:27
64 LL | let _: usize = foo(_, _);
65 | ^ `_` not allowed here
67 error: in expressions, `_` can only be used on the left-hand side of an assignment
68 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:18
70 LL | let _: S = S(_, _);
71 | ^ `_` not allowed here
73 error: in expressions, `_` can only be used on the left-hand side of an assignment
74 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:21
76 LL | let _: S = S(_, _);
77 | ^ `_` not allowed here
79 error: in expressions, `_` can only be used on the left-hand side of an assignment
80 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:27
82 LL | let _: usize = T::baz(_, _);
83 | ^ `_` not allowed here
85 error: in expressions, `_` can only be used on the left-hand side of an assignment
86 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:30
88 LL | let _: usize = T::baz(_, _);
89 | ^ `_` not allowed here
91 error: aborting due to 12 previous errors
93 For more information about this error, try `rustc --explain E0658`.