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
+
1
55
error: expected expression, found reserved identifier `_`
2
56
--> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
3
57
|
@@ -11,28 +65,29 @@ LL | let _: usize = foo(_, _);
11
65
| ^ expected expression
12
66
13
67
error: 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
15
69
|
16
70
LL | let _: S = S(_, _);
17
71
| ^ expected expression
18
72
19
73
error: 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
21
75
|
22
76
LL | let _: S = S(_, _);
23
77
| ^ expected expression
24
78
25
79
error: 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
27
81
|
28
82
LL | let _: usize = T::baz(_, _);
29
83
| ^ expected expression
30
84
31
85
error: 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
33
87
|
34
88
LL | let _: usize = T::baz(_, _);
35
89
| ^ expected expression
36
90
37
- error: aborting due to 6 previous errors
91
+ error: aborting due to 12 previous errors
38
92
93
+ For more information about this error, try `rustc --explain E0658`.
0 commit comments