Skip to content

Commit 717a7a8

Browse files
mibac138lcnr
andauthored
Update src/test/ui/lint/issue-71290-unused-paren-binop.rs
Co-authored-by: Bastian Kauschke <[email protected]>
1 parent 3471bc8 commit 717a7a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/lint/issue-71290-unused-paren-binop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// check-pass
22
// Make sure unused parens lint doesn't emit a false positive.
33
// See https://github.com/rust-lang/rust/issues/71290 for details.
4+
#![deny(unused_parens)]
45

56
fn x() -> u8 {
67
({ 0 }) + 1

0 commit comments

Comments
 (0)