Update src/test/ui/lint/issue-71290-unused-paren-binop.rs
Co-authored-by: Bastian Kauschke <bastian_kauschke@hotmail.de>
This commit is contained in:
parent
3471bc8306
commit
717a7a8486
@ -1,6 +1,7 @@
|
||||
// check-pass
|
||||
// Make sure unused parens lint doesn't emit a false positive.
|
||||
// See https://github.com/rust-lang/rust/issues/71290 for details.
|
||||
#![deny(unused_parens)]
|
||||
|
||||
fn x() -> u8 {
|
||||
({ 0 }) + 1
|
||||
|
Loading…
Reference in New Issue
Block a user