about summary refs log tree commit diff
path: root/src/test/ui/compile-fail-migration/for-loop-refutable-pattern-error-message.stderr
blob: b76c2ffc240e16fb5c53ebdfb9070674fba6949c (plain)
1
2
3
4
5
6
7
8
9
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`.