error[E0080]: evaluation of `sized_dst::assert::check_size_and_align_of_dst::<[u8; 17], sized_dst::A8, 4>::{constant#0}` failed --> src/assert.rs | | / assert!( | | size_of::() <= N, | | "Value must fit within the stack object" | | ); | |_________^ the evaluated program panicked at 'Value must fit within the stack object', $DIR/src/assert.rs:5:9 | = note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) note: erroneous constant encountered --> src/assert.rs | | / const { | | assert!( | | size_of::() <= N, | | "Value must fit within the stack object" | | ); | | } | |_____^ note: the above error was encountered while instantiating `fn sized_dst::assert::check_size_and_align_of_dst::<[u8; 17], sized_dst::A8, 4>` --> src/lib.rs | | assert::check_size_and_align_of_dst::(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^