1 2 3 4 5 6 7 8 9
use scattered_collect::{gather, map::ScatteredMap, scatter}; #[gather] static MAP: ScatteredMap<&'static str, u32>; #[scatter(MAP)] static BAD: (&'static str, u32) = ("a", 1, 2); fn main() {}