mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 05:27:36 +00:00
10 lines
369 B
Plaintext
10 lines
369 B
Plaintext
![]() |
error[E0005]: refutable pattern in `for` loop binding: `&_` not covered
|
||
|
--> $DIR/for-loop-refutable-pattern-error-message.rs:12:9
|
||
|
|
|
||
|
LL | for &1 in [1].iter() {} //~ ERROR refutable pattern in `for` loop binding
|
||
|
| ^^ pattern `&_` not covered
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0005`.
|