2021-02-25 17:03:41 -06:00
|
|
|
error: First Pass analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:12:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing variant[] -> ImmBorrow
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:15:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:12:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture variant[] -> ImmBorrow
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:15:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:30:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
LL | | _ => {}
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:49:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
LL | | SingleVariant::Points(_) => {}
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:63:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing variant[] -> ImmBorrow
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:66:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
note: Capturing variant[(0, 0)] -> ImmBorrow
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:66:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:63:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture variant[] -> ImmBorrow
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:66:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-05-21 18:06:06 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:83:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match array {
|
|
|
|
LL | | [_,_,_] => {}
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:95:5
|
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match array {
|
|
|
|
LL | | [_, _, _] => {}
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
|
|
|
--> $DIR/patterns-capture-analysis.rs:108:5
|
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match f {
|
|
|
|
LL | | Foo([_, _, _]) => ()
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
|
|
|
--> $DIR/patterns-capture-analysis.rs:130:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing variant[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:133:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:130:5
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match variant {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture variant[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:133:15
|
2021-02-25 17:03:41 -06:00
|
|
|
|
|
|
|
|
LL | match variant {
|
|
|
|
| ^^^^^^^
|
|
|
|
|
2023-05-21 18:06:06 -05:00
|
|
|
error: First Pass analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:148:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:151:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:148:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:151:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:160:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:163:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:160:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:163:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:172:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Capturing slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:175:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: Min Capture analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:172:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
... |
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
|
note: Min Capture slice[] -> ImmBorrow
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:175:15
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | match slice {
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: First Pass analysis includes:
|
2023-06-14 17:27:17 -05:00
|
|
|
--> $DIR/patterns-capture-analysis.rs:189:5
|
2023-05-21 18:06:06 -05:00
|
|
|
|
|
|
|
|
LL | / || {
|
|
|
|
LL | |
|
|
|
|
LL | | match slice {
|
|
|
|
LL | | [..] => {},
|
|
|
|
LL | | _ => {}
|
|
|
|
LL | | }
|
|
|
|
LL | | };
|
|
|
|
| |_____^
|
|
|
|
|
2023-06-14 17:27:17 -05:00
|
|
|
error: aborting due to 18 previous errors
|
2021-02-25 17:03:41 -06:00
|
|
|
|