1
- error[E0658]: attributes on expressions are experimental
2
- --> $DIR/patterns-capture-analysis.rs:10:14
3
- |
4
- LL | let c = #[rustc_capture_analysis]
5
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
6
- |
7
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
8
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
9
-
10
- error[E0658]: attributes on expressions are experimental
11
- --> $DIR/patterns-capture-analysis.rs:31:14
12
- |
13
- LL | let c = #[rustc_capture_analysis]
14
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
15
- |
16
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
17
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
18
-
19
- error[E0658]: attributes on expressions are experimental
20
- --> $DIR/patterns-capture-analysis.rs:52:14
21
- |
22
- LL | let c = #[rustc_capture_analysis]
23
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
24
- |
25
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
26
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
27
-
28
- error[E0658]: attributes on expressions are experimental
29
- --> $DIR/patterns-capture-analysis.rs:68:14
30
- |
31
- LL | let c = #[rustc_capture_analysis]
32
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
33
- |
34
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
35
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
36
-
37
- error[E0658]: attributes on expressions are experimental
38
- --> $DIR/patterns-capture-analysis.rs:90:14
39
- |
40
- LL | let c = #[rustc_capture_analysis]
41
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
42
- |
43
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
44
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
45
-
46
- error[E0658]: attributes on expressions are experimental
47
- --> $DIR/patterns-capture-analysis.rs:114:14
48
- |
49
- LL | let c = #[rustc_capture_analysis]
50
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
51
- |
52
- = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
53
- = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable
54
-
55
1
error: First Pass analysis includes:
56
- --> $DIR/patterns-capture-analysis.rs:14 :5
2
+ --> $DIR/patterns-capture-analysis.rs:12 :5
57
3
|
58
4
LL | / || {
59
5
LL | |
@@ -65,13 +11,13 @@ LL | | };
65
11
| |_____^
66
12
|
67
13
note: Capturing variant[] -> ImmBorrow
68
- --> $DIR/patterns-capture-analysis.rs:17 :15
14
+ --> $DIR/patterns-capture-analysis.rs:15 :15
69
15
|
70
16
LL | match variant {
71
17
| ^^^^^^^
72
18
73
19
error: Min Capture analysis includes:
74
- --> $DIR/patterns-capture-analysis.rs:14 :5
20
+ --> $DIR/patterns-capture-analysis.rs:12 :5
75
21
|
76
22
LL | / || {
77
23
LL | |
@@ -83,13 +29,13 @@ LL | | };
83
29
| |_____^
84
30
|
85
31
note: Min Capture variant[] -> ImmBorrow
86
- --> $DIR/patterns-capture-analysis.rs:17 :15
32
+ --> $DIR/patterns-capture-analysis.rs:15 :15
87
33
|
88
34
LL | match variant {
89
35
| ^^^^^^^
90
36
91
37
error: First Pass analysis includes:
92
- --> $DIR/patterns-capture-analysis.rs:34 :5
38
+ --> $DIR/patterns-capture-analysis.rs:30 :5
93
39
|
94
40
LL | / || {
95
41
LL | |
@@ -100,7 +46,7 @@ LL | | };
100
46
| |_____^
101
47
102
48
error: First Pass analysis includes:
103
- --> $DIR/patterns-capture-analysis.rs:55 :5
49
+ --> $DIR/patterns-capture-analysis.rs:49 :5
104
50
|
105
51
LL | / || {
106
52
LL | |
@@ -111,7 +57,7 @@ LL | | };
111
57
| |_____^
112
58
113
59
error: First Pass analysis includes:
114
- --> $DIR/patterns-capture-analysis.rs:71 :5
60
+ --> $DIR/patterns-capture-analysis.rs:63 :5
115
61
|
116
62
LL | / || {
117
63
LL | |
@@ -123,18 +69,18 @@ LL | | };
123
69
| |_____^
124
70
|
125
71
note: Capturing variant[] -> ImmBorrow
126
- --> $DIR/patterns-capture-analysis.rs:74 :15
72
+ --> $DIR/patterns-capture-analysis.rs:66 :15
127
73
|
128
74
LL | match variant {
129
75
| ^^^^^^^
130
76
note: Capturing variant[(0, 0)] -> ImmBorrow
131
- --> $DIR/patterns-capture-analysis.rs:74 :15
77
+ --> $DIR/patterns-capture-analysis.rs:66 :15
132
78
|
133
79
LL | match variant {
134
80
| ^^^^^^^
135
81
136
82
error: Min Capture analysis includes:
137
- --> $DIR/patterns-capture-analysis.rs:71 :5
83
+ --> $DIR/patterns-capture-analysis.rs:63 :5
138
84
|
139
85
LL | / || {
140
86
LL | |
@@ -146,13 +92,13 @@ LL | | };
146
92
| |_____^
147
93
|
148
94
note: Min Capture variant[] -> ImmBorrow
149
- --> $DIR/patterns-capture-analysis.rs:74 :15
95
+ --> $DIR/patterns-capture-analysis.rs:66 :15
150
96
|
151
97
LL | match variant {
152
98
| ^^^^^^^
153
99
154
100
error: First Pass analysis includes:
155
- --> $DIR/patterns-capture-analysis.rs:93 :5
101
+ --> $DIR/patterns-capture-analysis.rs:83 :5
156
102
|
157
103
LL | / || {
158
104
LL | |
@@ -163,7 +109,7 @@ LL | | };
163
109
| |_____^
164
110
165
111
error: First Pass analysis includes:
166
- --> $DIR/patterns-capture-analysis.rs:117 :5
112
+ --> $DIR/patterns-capture-analysis.rs:105 :5
167
113
|
168
114
LL | / || {
169
115
LL | |
@@ -175,13 +121,13 @@ LL | | };
175
121
| |_____^
176
122
|
177
123
note: Capturing variant[] -> ImmBorrow
178
- --> $DIR/patterns-capture-analysis.rs:120 :15
124
+ --> $DIR/patterns-capture-analysis.rs:108 :15
179
125
|
180
126
LL | match variant {
181
127
| ^^^^^^^
182
128
183
129
error: Min Capture analysis includes:
184
- --> $DIR/patterns-capture-analysis.rs:117 :5
130
+ --> $DIR/patterns-capture-analysis.rs:105 :5
185
131
|
186
132
LL | / || {
187
133
LL | |
@@ -193,11 +139,130 @@ LL | | };
193
139
| |_____^
194
140
|
195
141
note: Min Capture variant[] -> ImmBorrow
196
- --> $DIR/patterns-capture-analysis.rs:120 :15
142
+ --> $DIR/patterns-capture-analysis.rs:108 :15
197
143
|
198
144
LL | match variant {
199
145
| ^^^^^^^
200
146
201
- error: aborting due to 15 previous errors
147
+ error: First Pass analysis includes:
148
+ --> $DIR/patterns-capture-analysis.rs:123:5
149
+ |
150
+ LL | / || {
151
+ LL | |
152
+ LL | |
153
+ LL | | match slice {
154
+ ... |
155
+ LL | | }
156
+ LL | | };
157
+ | |_____^
158
+ |
159
+ note: Capturing slice[] -> ImmBorrow
160
+ --> $DIR/patterns-capture-analysis.rs:126:15
161
+ |
162
+ LL | match slice {
163
+ | ^^^^^
164
+
165
+ error: Min Capture analysis includes:
166
+ --> $DIR/patterns-capture-analysis.rs:123:5
167
+ |
168
+ LL | / || {
169
+ LL | |
170
+ LL | |
171
+ LL | | match slice {
172
+ ... |
173
+ LL | | }
174
+ LL | | };
175
+ | |_____^
176
+ |
177
+ note: Min Capture slice[] -> ImmBorrow
178
+ --> $DIR/patterns-capture-analysis.rs:126:15
179
+ |
180
+ LL | match slice {
181
+ | ^^^^^
182
+
183
+ error: First Pass analysis includes:
184
+ --> $DIR/patterns-capture-analysis.rs:135:5
185
+ |
186
+ LL | / || {
187
+ LL | |
188
+ LL | |
189
+ LL | | match slice {
190
+ ... |
191
+ LL | | }
192
+ LL | | };
193
+ | |_____^
194
+ |
195
+ note: Capturing slice[] -> ImmBorrow
196
+ --> $DIR/patterns-capture-analysis.rs:138:15
197
+ |
198
+ LL | match slice {
199
+ | ^^^^^
200
+
201
+ error: Min Capture analysis includes:
202
+ --> $DIR/patterns-capture-analysis.rs:135:5
203
+ |
204
+ LL | / || {
205
+ LL | |
206
+ LL | |
207
+ LL | | match slice {
208
+ ... |
209
+ LL | | }
210
+ LL | | };
211
+ | |_____^
212
+ |
213
+ note: Min Capture slice[] -> ImmBorrow
214
+ --> $DIR/patterns-capture-analysis.rs:138:15
215
+ |
216
+ LL | match slice {
217
+ | ^^^^^
218
+
219
+ error: First Pass analysis includes:
220
+ --> $DIR/patterns-capture-analysis.rs:147:5
221
+ |
222
+ LL | / || {
223
+ LL | |
224
+ LL | |
225
+ LL | | match slice {
226
+ ... |
227
+ LL | | }
228
+ LL | | };
229
+ | |_____^
230
+ |
231
+ note: Capturing slice[] -> ImmBorrow
232
+ --> $DIR/patterns-capture-analysis.rs:150:15
233
+ |
234
+ LL | match slice {
235
+ | ^^^^^
236
+
237
+ error: Min Capture analysis includes:
238
+ --> $DIR/patterns-capture-analysis.rs:147:5
239
+ |
240
+ LL | / || {
241
+ LL | |
242
+ LL | |
243
+ LL | | match slice {
244
+ ... |
245
+ LL | | }
246
+ LL | | };
247
+ | |_____^
248
+ |
249
+ note: Min Capture slice[] -> ImmBorrow
250
+ --> $DIR/patterns-capture-analysis.rs:150:15
251
+ |
252
+ LL | match slice {
253
+ | ^^^^^
254
+
255
+ error: First Pass analysis includes:
256
+ --> $DIR/patterns-capture-analysis.rs:164:5
257
+ |
258
+ LL | / || {
259
+ LL | |
260
+ LL | | match slice {
261
+ LL | | [..] => {},
262
+ LL | | _ => {}
263
+ LL | | }
264
+ LL | | };
265
+ | |_____^
266
+
267
+ error: aborting due to 16 previous errors
202
268
203
- For more information about this error, try `rustc --explain E0658`.
0 commit comments