@@ -4,7 +4,7 @@ error[E0425]: cannot find value `start` in this scope
44LL | let start..end = r;
55 | ^^^^^ not found in this scope
66 |
7- help: if you meant to destructure a `Range`, use the struct pattern
7+ help: if you meant to destructure a `Range`, use a struct pattern
88 |
99LL - let start..end = r;
1010LL + let std::ops::Range { start: start, end: end } = r;
@@ -16,7 +16,7 @@ error[E0425]: cannot find value `end` in this scope
1616LL | let start..end = r;
1717 | ^^^ not found in this scope
1818 |
19- help: if you meant to destructure a `Range`, use the struct pattern
19+ help: if you meant to destructure a `Range`, use a struct pattern
2020 |
2121LL - let start..end = r;
2222LL + let std::ops::Range { start: start, end: end } = r;
@@ -31,7 +31,7 @@ LL | let min..max = r;
3131LL | fn main() {}
3232 | --------- similarly named function `main` defined here
3333 |
34- help: if you meant to destructure a `Range`, use the struct pattern
34+ help: if you meant to destructure a `Range`, use a struct pattern
3535 |
3636LL - let min..max = r;
3737LL + let std::ops::Range { start: min, end: max } = r;
@@ -51,7 +51,7 @@ error[E0425]: cannot find value `max` in this scope
5151LL | let min..max = r;
5252 | ^^^ not found in this scope
5353 |
54- help: if you meant to destructure a `Range`, use the struct pattern
54+ help: if you meant to destructure a `Range`, use a struct pattern
5555 |
5656LL - let min..max = r;
5757LL + let std::ops::Range { start: min, end: max } = r;
0 commit comments