summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mut/no-mut-lint-for-desugared-mut.rs
blob: 419d580419f42270217c2f633ea4dbba70b9ee33 (plain)
1
2
3
4
5
6
7
8
// run-pass

#![deny(unused_mut)]
#![allow(unreachable_code)]

fn main() {
    for _ in { return (); 0..3 } {} // ok
}