]> git.lizzy.rs Git - rust.git/blob - tests/ui/issue-7447.stderr
Don't lint `if_same_then_else` with `if let` conditions
[rust.git] / tests / ui / issue-7447.stderr
1 error: sub-expression diverges
2   --> $DIR/issue-7447.rs:23:15
3    |
4 LL |     byte_view(panic!());
5    |               ^^^^^^^^
6    |
7    = note: `-D clippy::diverging-sub-expression` implied by `-D warnings`
8    = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info)
9
10 error: sub-expression diverges
11   --> $DIR/issue-7447.rs:24:19
12    |
13 LL |     group_entries(panic!());
14    |                   ^^^^^^^^
15    |
16    = note: this error originates in the macro `$crate::panic::panic_2021` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 error: aborting due to 2 previous errors
19