]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/suggest-remove-refs-4.fixed
Auto merge of #106004 - fee1-dead-contrib:const-closures, r=oli-obk
[rust.git] / tests / ui / suggestions / suggest-remove-refs-4.fixed
1 // run-rustfix
2 fn main() {
3     let foo = [1,2,3].iter();
4     for _i in foo {} //~ ERROR E0277
5 }