We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a858dc commit 40bba70Copy full SHA for 40bba70
src/test/ui/lint/no-unused-parens-return-block.rs
@@ -1,5 +1,8 @@
1
// run-pass
2
3
+#![deny(unused_parens)]
4
+#![allow(unreachable_code)]
5
+
6
fn main() {
7
match (return) {} // ok
8
if (return) {} // ok
0 commit comments