Sign in
fuchsia
/
third_party
/
rust
/
daecab3a784f28082df90cebb204998051f3557d
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
cognitive_complexity_attr_used.rs
blob: 771a26fc9a86d5f5257628eaf0a7024fdb13f1c9 [
file
] [
log
] [
blame
]
#![
warn
(
unused
,
clippy
::
cognitive_complexity
)]
#![
allow
(
unused_crate_dependencies
)]
fn
main
()
{
kaboom
();
}
#[
clippy
::
cognitive_complexity
=
"0"
]
fn
kaboom
()
{
if
42
==
43
{
panic
!();
}
else
if
"cake"
==
"lie"
{
println
!(
"what?"
);
}
}