fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: attributes on expressions are experimental 2 --> $DIR/capture-enums.rs:16: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[E0658]: attributes on expressions are experimental 11 --> $DIR/capture-enums.rs:47:13 12 | 13LL | let c = #[rustc_capture_analysis] 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/capture-enums.rs:19:5 21 | 22LL | / || { 23LL | | 24LL | | 25LL | | if let Info::Point(_, _, str) = point { 26... | 27LL | | } 28LL | | }; 29 | |_____^ 30 | 31note: Capturing point[] -> ImmBorrow 32 --> $DIR/capture-enums.rs:22:41 33 | 34LL | if let Info::Point(_, _, str) = point { 35 | ^^^^^ 36note: Capturing point[(2, 0)] -> ByValue 37 --> $DIR/capture-enums.rs:22:41 38 | 39LL | if let Info::Point(_, _, str) = point { 40 | ^^^^^ 41note: Capturing meta[] -> ImmBorrow 42 --> $DIR/capture-enums.rs:29:35 43 | 44LL | if let Info::Meta(_, v) = meta { 45 | ^^^^ 46note: Capturing meta[(1, 1)] -> ByValue 47 --> $DIR/capture-enums.rs:29:35 48 | 49LL | if let Info::Meta(_, v) = meta { 50 | ^^^^ 51 52error: Min Capture analysis includes: 53 --> $DIR/capture-enums.rs:19:5 54 | 55LL | / || { 56LL | | 57LL | | 58LL | | if let Info::Point(_, _, str) = point { 59... | 60LL | | } 61LL | | }; 62 | |_____^ 63 | 64note: Min Capture point[] -> ByValue 65 --> $DIR/capture-enums.rs:22:41 66 | 67LL | if let Info::Point(_, _, str) = point { 68 | ^^^^^ 69note: Min Capture meta[] -> ByValue 70 --> $DIR/capture-enums.rs:29:35 71 | 72LL | if let Info::Meta(_, v) = meta { 73 | ^^^^ 74 75error: First Pass analysis includes: 76 --> $DIR/capture-enums.rs:50:5 77 | 78LL | / || { 79LL | | 80LL | | 81LL | | let SingleVariant::Point(_, _, str) = point; 82... | 83LL | | println!("{}", str); 84LL | | }; 85 | |_____^ 86 | 87note: Capturing point[(2, 0)] -> ByValue 88 --> $DIR/capture-enums.rs:53:47 89 | 90LL | let SingleVariant::Point(_, _, str) = point; 91 | ^^^^^ 92 93error: Min Capture analysis includes: 94 --> $DIR/capture-enums.rs:50:5 95 | 96LL | / || { 97LL | | 98LL | | 99LL | | let SingleVariant::Point(_, _, str) = point; 100... | 101LL | | println!("{}", str); 102LL | | }; 103 | |_____^ 104 | 105note: Min Capture point[(2, 0)] -> ByValue 106 --> $DIR/capture-enums.rs:53:47 107 | 108LL | let SingleVariant::Point(_, _, str) = point; 109 | ^^^^^ 110 111error: aborting due to 6 previous errors 112 113For more information about this error, try `rustc --explain E0658`.