Make warnings into errors

This commit is contained in:
varkor 2018-10-18 10:35:01 +01:00 committed by GitHub
parent 0a858dc859
commit 40bba70823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,8 @@
// run-pass
#![deny(unused_parens)]
#![allow(unreachable_code)]
fn main() {
match (return) {} // ok
if (return) {} // ok