// run-pass #![allow(dead_code)] struct Both { arr: [T; N] } trait BothTrait {} enum BothEnum { Dummy([T; N]) } struct OppOrder { arr: [T; N] } fn main() { let _ = OppOrder::<3, u32> { arr: [0,0,0], }; let _ = Both:: { arr: [0], }; }