3 #![feature(rustc_attrs)]
8 let c = #[rustc_capture_analysis]
9 //~^ ERROR: attributes on expressions are experimental
10 //~| NOTE: see issue #15701 <https://github.com/rust-lang/rust/issues/15701>
12 //~^ First Pass analysis includes:
13 //~| Min Capture analysis includes:
15 //~^ NOTE: Capturing t[(0, 0)] -> ImmBorrow
16 //~| NOTE: Min Capture t[(0, 0)] -> ImmBorrow
19 // `c` only captures t.0, therefore mutating t.1 is allowed.