summaryrefslogtreecommitdiffstats
path: root/tests/ui/for/for-loop-refutable-pattern-error-message.rs
blob: 221951c874d2b469d2e22c614231bdb82e46ad3e (plain)
1
2
3
fn main() {
    for &1 in [1].iter() {} //~ ERROR refutable pattern in `for` loop binding
}