mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 08:30:45 +00:00
20 lines
858 B
Text
20 lines
858 B
Text
error: sub-expression diverges
|
|
--> tests/ui/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
|
|
--> tests/ui/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
|
|
|