summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/suggest-remove-refs-4.fixed
blob: dd63d215972432be8942ee181822d03864902062 (plain)
1
2
3
4
5
// run-rustfix
fn main() {
    let foo = [1,2,3].iter();
    for _i in foo {} //~ ERROR E0277
}