error[E0080]: evaluation of `::ENSURE_VALID` failed --> src/config.rs | | assert!(Self::MAX_PAGES > 0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: Self::MAX_PAGES > 0', $DIR/src/config.rs:80:9 | = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) note: erroneous constant encountered --> src/lib.rs | | assert!(C::ENSURE_VALID); | ^^^^^^^^^^^^^^^ note: the above error was encountered while instantiating `fn idr_ebr::Idr::::new` --> tests/config/max_pages_zero.rs:9:13 | 9 | let _ = Idr::::new(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^