Make warnings into errors
This commit is contained in:
parent
0a858dc859
commit
40bba70823
@ -1,5 +1,8 @@
|
||||
// run-pass
|
||||
|
||||
#![deny(unused_parens)]
|
||||
#![allow(unreachable_code)]
|
||||
|
||||
fn main() {
|
||||
match (return) {} // ok
|
||||
if (return) {} // ok
|
||||
|
Loading…
x
Reference in New Issue
Block a user