1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/wild_patterns.rs:22:13
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/wild_patterns.rs:40:13
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/wild_patterns.rs:58:13
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: First Pass analysis includes:
29 --> $DIR/wild_patterns.rs:25:5
34 LL | | // FIXME(arora-aman): Change `_x` to `_`
40 note: Capturing p[(0, 0)] -> ImmBorrow
41 --> $DIR/wild_patterns.rs:29:37
43 LL | let Point { x: _x, y: _ } = p;
46 error: Min Capture analysis includes:
47 --> $DIR/wild_patterns.rs:25:5
52 LL | | // FIXME(arora-aman): Change `_x` to `_`
58 note: Min Capture p[(0, 0)] -> ImmBorrow
59 --> $DIR/wild_patterns.rs:29:37
61 LL | let Point { x: _x, y: _ } = p;
64 error: First Pass analysis includes:
65 --> $DIR/wild_patterns.rs:43:5
70 LL | | // FIXME(arora-aman): Change `_x` to `_`
76 note: Capturing t[(0, 0)] -> ByValue
77 --> $DIR/wild_patterns.rs:47:23
82 error: Min Capture analysis includes:
83 --> $DIR/wild_patterns.rs:43:5
88 LL | | // FIXME(arora-aman): Change `_x` to `_`
94 note: Min Capture t[(0, 0)] -> ByValue
95 --> $DIR/wild_patterns.rs:47:23
100 error: First Pass analysis includes:
101 --> $DIR/wild_patterns.rs:61:5
106 LL | | // FIXME(arora-aman): Change `_x` to `_`
112 note: Capturing arr[Index] -> ByValue
113 --> $DIR/wild_patterns.rs:65:23
115 LL | let [_x, _] = arr;
118 error: Min Capture analysis includes:
119 --> $DIR/wild_patterns.rs:61:5
124 LL | | // FIXME(arora-aman): Change `_x` to `_`
130 note: Min Capture arr[] -> ByValue
131 --> $DIR/wild_patterns.rs:65:23
133 LL | let [_x, _] = arr;
136 error: aborting due to 9 previous errors
138 For more information about this error, try `rustc --explain E0658`.