1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/patterns-capture-analysis.rs:10:14
4 LL | let c = #[rustc_capture_analysis]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
10 error[E0658]: attributes on expressions are experimental
11 --> $DIR/patterns-capture-analysis.rs:31:14
13 LL | let c = #[rustc_capture_analysis]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
19 error[E0658]: attributes on expressions are experimental
20 --> $DIR/patterns-capture-analysis.rs:52:14
22 LL | let c = #[rustc_capture_analysis]
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
28 error[E0658]: attributes on expressions are experimental
29 --> $DIR/patterns-capture-analysis.rs:68:14
31 LL | let c = #[rustc_capture_analysis]
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
37 error[E0658]: attributes on expressions are experimental
38 --> $DIR/patterns-capture-analysis.rs:90:14
40 LL | let c = #[rustc_capture_analysis]
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
46 error[E0658]: attributes on expressions are experimental
47 --> $DIR/patterns-capture-analysis.rs:114:14
49 LL | let c = #[rustc_capture_analysis]
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^
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
55 error: First Pass analysis includes:
56 --> $DIR/patterns-capture-analysis.rs:14:5
61 LL | | match variant {
67 note: Capturing variant[] -> ImmBorrow
68 --> $DIR/patterns-capture-analysis.rs:17:15
73 error: Min Capture analysis includes:
74 --> $DIR/patterns-capture-analysis.rs:14:5
79 LL | | match variant {
85 note: Min Capture variant[] -> ImmBorrow
86 --> $DIR/patterns-capture-analysis.rs:17:15
91 error: First Pass analysis includes:
92 --> $DIR/patterns-capture-analysis.rs:34:5
96 LL | | match variant {
102 error: First Pass analysis includes:
103 --> $DIR/patterns-capture-analysis.rs:55:5
107 LL | | match variant {
108 LL | | SingleVariant::Points(_) => {}
113 error: First Pass analysis includes:
114 --> $DIR/patterns-capture-analysis.rs:71:5
119 LL | | match variant {
125 note: Capturing variant[] -> ImmBorrow
126 --> $DIR/patterns-capture-analysis.rs:74:15
130 note: Capturing variant[(0, 0)] -> ImmBorrow
131 --> $DIR/patterns-capture-analysis.rs:74:15
136 error: Min Capture analysis includes:
137 --> $DIR/patterns-capture-analysis.rs:71:5
142 LL | | match variant {
148 note: Min Capture variant[] -> ImmBorrow
149 --> $DIR/patterns-capture-analysis.rs:74:15
154 error: First Pass analysis includes:
155 --> $DIR/patterns-capture-analysis.rs:93:5
165 error: First Pass analysis includes:
166 --> $DIR/patterns-capture-analysis.rs:117:5
171 LL | | match variant {
177 note: Capturing variant[] -> ImmBorrow
178 --> $DIR/patterns-capture-analysis.rs:120:15
183 error: Min Capture analysis includes:
184 --> $DIR/patterns-capture-analysis.rs:117:5
189 LL | | match variant {
195 note: Min Capture variant[] -> ImmBorrow
196 --> $DIR/patterns-capture-analysis.rs:120:15
201 error: aborting due to 15 previous errors
203 For more information about this error, try `rustc --explain E0658`.