mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 22:02:55 +00:00
20 lines
850 B
Text
20 lines
850 B
Text
error: sub-expression diverges
|
|
--> $DIR/issue-7447.rs:26:15
|
|
|
|
|
LL | byte_view(panic!());
|
|
| ^^^^^^^^
|
|
|
|
|
= note: `-D clippy::diverging-sub-expression` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::diverging_sub_expression)]`
|
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: sub-expression diverges
|
|
--> $DIR/issue-7447.rs:29:19
|
|
|
|
|
LL | group_entries(panic!());
|
|
| ^^^^^^^^
|
|
|
|
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 2 previous errors
|
|
|