error[E0080]: evaluation panicked: PodString<N, PFX>: PFX must be 1, 2, 4, or 8
--> $RUST/core/src/panic.rs
|
| $crate::panicking::panic_fmt($crate::const_format_args!($($t)+));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `pinapod::PodString::<8, 3>::_CAP_CHECK` failed here
|
::: src/pod/string.rs
|
| / assert!(
| | PFX == 1 || PFX == 2 || PFX == 4 || PFX == 8,
| | "PodString<N, PFX>: PFX must be 1, 2, 4, or 8"
| | );
| |_________- in this macro invocation
note: erroneous constant encountered
--> src/pod/string.rs
|
| let _ = Self::_CAP_CHECK;
| ^^^^^^^^^^^^^^^^
note: the above error was encountered while instantiating `fn <PodString<8, 3> as Default>::default`
--> tests/ui/fail/standalone_string_prefix_width.rs:2:10
|
2 | let _ = pinapod::PodString::<8, 3>::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^