1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/edge_case.rs:20:13
4 LL | let c = #[rustc_capture_analysis] || drop(&m.a.0);
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: First Pass analysis includes:
11 --> $DIR/edge_case.rs:20:39
13 LL | let c = #[rustc_capture_analysis] || drop(&m.a.0);
16 note: Capturing m[Deref,(0, 0),Deref,(0, 0)] -> ImmBorrow
17 --> $DIR/edge_case.rs:20:48
19 LL | let c = #[rustc_capture_analysis] || drop(&m.a.0);
22 error: Min Capture analysis includes:
23 --> $DIR/edge_case.rs:20:39
25 LL | let c = #[rustc_capture_analysis] || drop(&m.a.0);
28 note: Min Capture m[Deref,(0, 0),Deref] -> ImmBorrow
29 --> $DIR/edge_case.rs:20:48
31 LL | let c = #[rustc_capture_analysis] || drop(&m.a.0);
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0658`.