1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/issue-87378.rs:14: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: First Pass analysis includes:
11 --> $DIR/issue-87378.rs:17:5
16 LL | | unsafe { u.value }
22 note: Capturing u[(0, 0)] -> ImmBorrow
23 --> $DIR/issue-87378.rs:20:17
25 LL | unsafe { u.value }
28 error: Min Capture analysis includes:
29 --> $DIR/issue-87378.rs:17:5
34 LL | | unsafe { u.value }
40 note: Min Capture u[] -> ImmBorrow
41 --> $DIR/issue-87378.rs:20:17
43 LL | unsafe { u.value }
46 error: aborting due to 3 previous errors
48 For more information about this error, try `rustc --explain E0658`.