]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/cyclomatic_complexity_attr_used.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / cyclomatic_complexity_attr_used.stderr
1 error: the function has a cyclomatic complexity of 3
2   --> cyclomatic_complexity_attr_used.rs:11:1
3    |
4 11 | / fn kaboom() {
5 12 | |     if 42 == 43 {
6 13 | |         panic!();
7 14 | |     } else if "cake" == "lie" {
8 15 | |         println!("what?");
9 16 | |     }
10 17 | | }
11    | |_^
12    |
13    = note: `-D cyclomatic-complexity` implied by `-D warnings`
14    = help: you could split it up into multiple smaller functions
15
16 error: aborting due to previous error(s)
17
18
19 To learn more, run the command again with --verbose.