fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: attributes on expressions are experimental 2 --> $DIR/issue-88476.rs:20:13 3 | 4LL | let x = #[rustc_capture_analysis] move || { 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[E0658]: attributes on expressions are experimental 11 --> $DIR/issue-88476.rs:47:13 12 | 13LL | let c = #[rustc_capture_analysis] move || { 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | 16 = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information 17 = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable 18 19error: First Pass analysis includes: 20 --> $DIR/issue-88476.rs:20:39 21 | 22LL | let x = #[rustc_capture_analysis] move || { 23 | _______________________________________^ 24LL | | 25LL | | 26LL | | 27... | 28LL | | 29LL | | }; 30 | |_____^ 31 | 32note: Capturing f[(0, 0)] -> ImmBorrow 33 --> $DIR/issue-88476.rs:25:26 34 | 35LL | println!("{:?}", f.0); 36 | ^^^ 37 38error: Min Capture analysis includes: 39 --> $DIR/issue-88476.rs:20:39 40 | 41LL | let x = #[rustc_capture_analysis] move || { 42 | _______________________________________^ 43LL | | 44LL | | 45LL | | 46... | 47LL | | 48LL | | }; 49 | |_____^ 50 | 51note: Min Capture f[] -> ByValue 52 --> $DIR/issue-88476.rs:25:26 53 | 54LL | println!("{:?}", f.0); 55 | ^^^ 56 57error: First Pass analysis includes: 58 --> $DIR/issue-88476.rs:47:39 59 | 60LL | let c = #[rustc_capture_analysis] move || { 61 | _______________________________________^ 62LL | | 63LL | | 64LL | | 65... | 66LL | | 67LL | | }; 68 | |_____^ 69 | 70note: Capturing character[(0, 0)] -> ImmBorrow 71 --> $DIR/issue-88476.rs:52:24 72 | 73LL | println!("{}", character.hp) 74 | ^^^^^^^^^^^^ 75 76error: Min Capture analysis includes: 77 --> $DIR/issue-88476.rs:47:39 78 | 79LL | let c = #[rustc_capture_analysis] move || { 80 | _______________________________________^ 81LL | | 82LL | | 83LL | | 84... | 85LL | | 86LL | | }; 87 | |_____^ 88 | 89note: Min Capture character[(0, 0)] -> ByValue 90 --> $DIR/issue-88476.rs:52:24 91 | 92LL | println!("{}", character.hp) 93 | ^^^^^^^^^^^^ 94 95error: aborting due to 6 previous errors 96 97For more information about this error, try `rustc --explain E0658`.