]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mut/no-mut-lint-for-desugared-mut.rs
Rollup merge of #67749 - gilescope:keyword-in, r=Dylan-DPC
[rust.git] / src / test / 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 }