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