blob: 4c0930f967d89ab5a3e018b643dd6a8e7d031776 (
plain)
1
2
3
4
5
6
7
8
|
// check-pass
// Make sure unused parens lint doesn't emit a false positive.
// See https://github.com/rust-lang/rust/issues/90807
#![deny(unused_parens)]
fn main() {
for _ in (1..{ 2 }) {}
}
|