error[E0080]: evaluation panicked:
cannot pun: behind a pointer, a byte that the target requires to be initialized is padding in what it is read from.
--> src/deep.rs
|
| const { require(behind::<X, Y>(0)) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `puns::deep::target::<Padded, [u8; 8]>::{constant#0}` failed inside this call
|
note: inside `puns::deep::require`
--> src/deep.rs
|
| Message::new(why).panic();
| ^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `puns::Message::panic`
--> $RUST/core/src/panic.rs
|
= note: the failure occurred here
|
::: src/lib.rs
|
| panic!("{}", unsafe { core::str::from_utf8_unchecked(this.bytes.split_at(this.len).0) })
| ---------------------------------------------------------------------------------------- in this macro invocation
note: erroneous constant encountered
--> src/deep.rs
|
| const { require(behind::<X, Y>(0)) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: the above error was encountered while instantiating `fn puns::deep::target::<Padded, [u8; 8]>`
--> src/deep.rs
|
| let _: fn() = target::<A::Pointee, B::Pointee>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^