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