1+ error[E0658]: destructuring assignments are unstable
2+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
3+ |
4+ LL | let _: usize = foo(_, _);
5+ | ^
6+ |
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
9+
10+ error[E0658]: destructuring assignments are unstable
11+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:27
12+ |
13+ LL | let _: usize = foo(_, _);
14+ | ^
15+ |
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
18+
19+ error[E0658]: destructuring assignments are unstable
20+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:18
21+ |
22+ LL | let _: S = S(_, _);
23+ | ^
24+ |
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
27+
28+ error[E0658]: destructuring assignments are unstable
29+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15:21
30+ |
31+ LL | let _: S = S(_, _);
32+ | ^
33+ |
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
36+
37+ error[E0658]: destructuring assignments are unstable
38+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:27
39+ |
40+ LL | let _: usize = T::baz(_, _);
41+ | ^
42+ |
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
45+
46+ error[E0658]: destructuring assignments are unstable
47+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20:30
48+ |
49+ LL | let _: usize = T::baz(_, _);
50+ | ^
51+ |
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
54+
155error: expected expression, found reserved identifier `_`
256 --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
357 |
@@ -11,28 +65,29 @@ LL | let _: usize = foo(_, _);
1165 | ^ expected expression
1266
1367error: expected expression, found reserved identifier `_`
14- --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13 :18
68+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15 :18
1569 |
1670LL | let _: S = S(_, _);
1771 | ^ expected expression
1872
1973error: expected expression, found reserved identifier `_`
20- --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13 :21
74+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:15 :21
2175 |
2276LL | let _: S = S(_, _);
2377 | ^ expected expression
2478
2579error: expected expression, found reserved identifier `_`
26- --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16 :27
80+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20 :27
2781 |
2882LL | let _: usize = T::baz(_, _);
2983 | ^ expected expression
3084
3185error: expected expression, found reserved identifier `_`
32- --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16 :30
86+ --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:20 :30
3387 |
3488LL | let _: usize = T::baz(_, _);
3589 | ^ expected expression
3690
37- error: aborting due to 6 previous errors
91+ error: aborting due to 12 previous errors
3892
93+ For more information about this error, try `rustc --explain E0658`.
0 commit comments