2020-05-27 06:55:57 -05:00
|
|
|
#![warn(unused, clippy::cognitive_complexity)]
|
|
|
|
#![allow(unused_crate_dependencies)]
|
2016-11-02 04:29:57 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
kaboom();
|
|
|
|
}
|
|
|
|
|
2019-02-22 19:19:50 -06:00
|
|
|
#[clippy::cognitive_complexity = "0"]
|
2017-02-08 07:58:07 -06:00
|
|
|
fn kaboom() {
|
2016-11-02 04:29:57 -05:00
|
|
|
if 42 == 43 {
|
|
|
|
panic!();
|
|
|
|
} else if "cake" == "lie" {
|
|
|
|
println!("what?");
|
|
|
|
}
|
|
|
|
}
|