fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: attributes on expressions are experimental 2 --> $DIR/deep-multilevel-tuple.rs:8:13 3 | 4LL | let c = #[rustc_capture_analysis] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 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 9 10error: First Pass analysis includes: 11 --> $DIR/deep-multilevel-tuple.rs:11:5 12 | 13LL | / || { 14LL | | 15LL | | 16LL | | let x = &t.0.0.0; 17... | 18LL | | 19LL | | }; 20 | |_____^ 21 | 22note: Capturing t[(0, 0),(0, 0),(0, 0)] -> ImmBorrow 23 --> $DIR/deep-multilevel-tuple.rs:14:18 24 | 25LL | let x = &t.0.0.0; 26 | ^^^^^^^ 27note: Capturing t[(1, 0),(1, 0),(1, 0)] -> MutBorrow 28 --> $DIR/deep-multilevel-tuple.rs:16:9 29 | 30LL | t.1.1.1 = 9; 31 | ^^^^^^^ 32note: Capturing t[] -> ImmBorrow 33 --> $DIR/deep-multilevel-tuple.rs:19:26 34 | 35LL | println!("{:?}", t); 36 | ^ 37 38error: Min Capture analysis includes: 39 --> $DIR/deep-multilevel-tuple.rs:11:5 40 | 41LL | / || { 42LL | | 43LL | | 44LL | | let x = &t.0.0.0; 45... | 46LL | | 47LL | | }; 48 | |_____^ 49 | 50note: Min Capture t[] -> MutBorrow 51 --> $DIR/deep-multilevel-tuple.rs:16:9 52 | 53LL | t.1.1.1 = 9; 54 | ^^^^^^^ t[] captured as MutBorrow here 55... 56LL | println!("{:?}", t); 57 | ^ t[] used here 58 59error: aborting due to 3 previous errors 60 61For more information about this error, try `rustc --explain E0658`.