1 error: this `if` can be part of the inner `if_chain!`
2 --> $DIR/if_chain_style.rs:9:5
6 LL | | // `if_chain!` inside `if`
13 = note: `-D clippy::if-chain-style` implied by `-D warnings`
14 help: this `let` statement can also be in the `if_chain!`
15 --> $DIR/if_chain_style.rs:10:9
20 error: `if a && b;` should be `if a; if b;`
21 --> $DIR/if_chain_style.rs:19:12
25 LL | | // multi-line AND'ed conditions
27 | |____________________^
29 error: `let` expression should be inside `then { .. }`
30 --> $DIR/if_chain_style.rs:24:9
35 error: this `if` can be part of the outer `if_chain!`
36 --> $DIR/if_chain_style.rs:35:13
41 help: this `let` statement can also be in the `if_chain!`
42 --> $DIR/if_chain_style.rs:33:13
47 error: `if_chain!` only has one `if`
48 --> $DIR/if_chain_style.rs:29:5
51 LL | | // single `if` condition
59 = note: this error originates in the macro `__if_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
61 error: `let` expression should be above the `if_chain!`
62 --> $DIR/if_chain_style.rs:40:9
67 error: this `if_chain!` can be merged with the outer `if_chain!`
68 --> $DIR/if_chain_style.rs:46:13
77 help: these `let` statements can also be in the `if_chain!`
78 --> $DIR/if_chain_style.rs:43:13
82 | |_______________________^
84 error: aborting due to 7 previous errors