]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/if_not_else.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[rust.git] / tests / ui / if_not_else.rs
index 5cdc6ce8678c20f4544bf6e06ab9b4208cb2d1c2..dc3fb1ceac9a44ba1dd69d063040b49f9feff534 100644 (file)
@@ -1,9 +1,9 @@
-#![feature(plugin)]
-#![plugin(clippy)]
-#![deny(clippy)]
-#![deny(if_not_else)]
+#![warn(clippy::all)]
+#![warn(clippy::if_not_else)]
 
-fn bla() -> bool { unimplemented!() }
+fn bla() -> bool {
+    unimplemented!()
+}
 
 fn main() {
     if !bla() {