mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 00:29:23 +00:00
9 lines
198 B
Rust
9 lines
198 B
Rust
//@ 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 }) {}
|
|
}
|