2016-02-29 02:45:36 -06:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![plugin(clippy)]
|
|
|
|
#![deny(clippy)]
|
2016-04-17 05:52:38 -05:00
|
|
|
#![deny(if_not_else)]
|
2016-02-29 02:45:36 -06:00
|
|
|
|
|
|
|
fn bla() -> bool { unimplemented!() }
|
|
|
|
|
|
|
|
fn main() {
|
2017-02-08 07:58:07 -06:00
|
|
|
if !bla() {
|
2016-02-29 02:45:36 -06:00
|
|
|
println!("Bugs");
|
|
|
|
} else {
|
|
|
|
println!("Bunny");
|
|
|
|
}
|
2017-02-08 07:58:07 -06:00
|
|
|
if 4 != 5 {
|
2016-02-29 02:45:36 -06:00
|
|
|
println!("Bugs");
|
|
|
|
} else {
|
|
|
|
println!("Bunny");
|
|
|
|
}
|
|
|
|
}
|