|
1 | 1 | error[E0658]: attributes on expressions are experimental |
2 | | - --> $DIR/edge_case.rs:23:13 |
| 2 | + --> $DIR/edge_case.rs:20:13 |
3 | 3 | | |
4 | 4 | LL | let c = #[rustc_capture_analysis] || drop(&m.a.0); |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | 7 | = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information |
8 | 8 | = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable |
9 | 9 |
|
10 | | -warning: the feature `capture_disjoint_fields` is incomplete and may not be safe to use and/or cause compiler crashes |
11 | | - --> $DIR/edge_case.rs:1:12 |
12 | | - | |
13 | | -LL | #![feature(capture_disjoint_fields)] |
14 | | - | ^^^^^^^^^^^^^^^^^^^^^^^ |
15 | | - | |
16 | | - = note: `#[warn(incomplete_features)]` on by default |
17 | | - = note: see issue #53488 <https://github.com/rust-lang/rust/issues/53488> for more information |
18 | | - |
19 | 10 | error: First Pass analysis includes: |
20 | | - --> $DIR/edge_case.rs:23:39 |
| 11 | + --> $DIR/edge_case.rs:20:39 |
21 | 12 | | |
22 | 13 | LL | let c = #[rustc_capture_analysis] || drop(&m.a.0); |
23 | 14 | | ^^^^^^^^^^^^^^^ |
24 | 15 | | |
25 | 16 | note: Capturing m[Deref,(0, 0),Deref] -> ImmBorrow |
26 | | - --> $DIR/edge_case.rs:23:48 |
| 17 | + --> $DIR/edge_case.rs:20:48 |
27 | 18 | | |
28 | 19 | LL | let c = #[rustc_capture_analysis] || drop(&m.a.0); |
29 | 20 | | ^^^^^ |
30 | 21 |
|
31 | 22 | error: Min Capture analysis includes: |
32 | | - --> $DIR/edge_case.rs:23:39 |
| 23 | + --> $DIR/edge_case.rs:20:39 |
33 | 24 | | |
34 | 25 | LL | let c = #[rustc_capture_analysis] || drop(&m.a.0); |
35 | 26 | | ^^^^^^^^^^^^^^^ |
36 | 27 | | |
37 | 28 | note: Min Capture m[Deref,(0, 0),Deref] -> ImmBorrow |
38 | | - --> $DIR/edge_case.rs:23:48 |
| 29 | + --> $DIR/edge_case.rs:20:48 |
39 | 30 | | |
40 | 31 | LL | let c = #[rustc_capture_analysis] || drop(&m.a.0); |
41 | 32 | | ^^^^^ |
42 | 33 |
|
43 | | -error: aborting due to 3 previous errors; 1 warning emitted |
| 34 | +error: aborting due to 3 previous errors |
44 | 35 |
|
45 | 36 | For more information about this error, try `rustc --explain E0658`. |
0 commit comments