rust/tests/ui/closures/2229_closure_analysis/match/patterns-capture-analysis.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

291 lines
5.6 KiB
Plaintext
Raw Normal View History

2021-02-25 17:03:41 -06:00
error: First Pass analysis includes:
--> $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
--> $DIR/patterns-capture-analysis.rs:15:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: Min Capture analysis includes:
--> $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
--> $DIR/patterns-capture-analysis.rs:15:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: First Pass analysis includes:
--> $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:
--> $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:
--> $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
--> $DIR/patterns-capture-analysis.rs:66:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
note: Capturing variant[(0, 0)] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:66:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: Min Capture analysis includes:
--> $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
--> $DIR/patterns-capture-analysis.rs:66:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: First Pass analysis includes:
--> $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:
--> $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
--> $DIR/patterns-capture-analysis.rs:133:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: Min Capture 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: Min Capture variant[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:133:15
2021-02-25 17:03:41 -06:00
|
LL | match variant {
| ^^^^^^^
error: First Pass analysis includes:
--> $DIR/patterns-capture-analysis.rs:148:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Capturing slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:151:15
|
LL | match slice {
| ^^^^^
error: Min Capture analysis includes:
--> $DIR/patterns-capture-analysis.rs:148:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Min Capture slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:151:15
|
LL | match slice {
| ^^^^^
error: First Pass analysis includes:
--> $DIR/patterns-capture-analysis.rs:160:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Capturing slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:163:15
|
LL | match slice {
| ^^^^^
error: Min Capture analysis includes:
--> $DIR/patterns-capture-analysis.rs:160:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Min Capture slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:163:15
|
LL | match slice {
| ^^^^^
error: First Pass analysis includes:
--> $DIR/patterns-capture-analysis.rs:172:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Capturing slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:175:15
|
LL | match slice {
| ^^^^^
error: Min Capture analysis includes:
--> $DIR/patterns-capture-analysis.rs:172:5
|
LL | / || {
LL | |
LL | |
LL | | match slice {
... |
LL | | }
LL | | };
| |_____^
|
note: Min Capture slice[] -> ImmBorrow
--> $DIR/patterns-capture-analysis.rs:175:15
|
LL | match slice {
| ^^^^^
error: First Pass analysis includes:
--> $DIR/patterns-capture-analysis.rs:189:5
|
LL | / || {
LL | |
LL | | match slice {
LL | | [..] => {},
LL | | _ => {}
LL | | }
LL | | };
| |_____^
error: aborting due to 18 previous errors
2021-02-25 17:03:41 -06:00