2021-12-23 18:03:30 -06:00
|
|
|
error[E0425]: cannot find value `a` in this scope
|
|
|
|
--> $DIR/issue-92100.rs:5:10
|
|
|
|
|
|
|
|
|
LL | [a.., a] => {}
|
|
|
|
| ^ not found in this scope
|
2023-11-16 18:55:55 -06:00
|
|
|
|
|
|
|
|
help: if you meant to collect the rest of the slice in `a`, use the at operator
|
|
|
|
|
|
|
|
|
LL | [a @ .., a] => {}
|
|
|
|
| +
|
2021-12-23 18:03:30 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-12-23 18:03:30 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0425`.
|