rust/src/test/ui/issues/issue-26158.stderr

10 lines
344 B
Plaintext
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0005]: refutable pattern in local binding: `&[]` not covered
2018-12-25 08:56:47 -07:00
--> $DIR/issue-26158.rs:5:9
2018-07-15 14:11:54 -07:00
|
LL | let &[[ref _a, ref _b..]..] = x; //~ ERROR refutable pattern
| ^^^^^^^^^^^^^^^^^^^^^^^ pattern `&[]` not covered
error: aborting due to previous error
For more information about this error, try `rustc --explain E0005`.