Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
lint
/
unused
/
issue-90807-unused-paren.rs
blob: dbd633041d43a9a134525547d6298135957ef580 [
file
] [
log
] [
blame
]
//@ 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
})
{}
}