]> git.lizzy.rs Git - rust.git/blob - tests/ui/mut/no-mut-lint-for-desugared-mut.rs
Rollup merge of #106805 - madsravn:master, r=compiler-errors
[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 }