]> git.lizzy.rs Git - rust.git/blob - tests/ui/mut/no-mut-lint-for-desugared-mut.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / mut / no-mut-lint-for-desugared-mut.rs
1 // run-pass
2
3 #![deny(unused_mut)]
4 #![allow(unreachable_code)]
5
6 fn main() {
7     for _ in { return (); 0..3 } {} // ok
8 }