1 2 3 4 5 6 7 8 9 10 11 12 13
#![feature(generic_associated_types)] mod common; use std::cell::Cell; use common::method::eq::*; #[cfg(feature = "std")] #[test] fn can_serialize_cell() { const LEN: usize = 8; test_serialize_exact::<Cell<u64>, LEN>(Cell::new(u64::MIN)); }