1 // Issue 62307 pointed out a case where the structural-match checking
4 // Here we check similar behavior for non-empty arrays of types that
7 // (Current behavior for empty arrays differs and thus is not tested
8 // here; see rust-lang/rust#62336.)
10 #[derive(PartialEq, Debug)]
14 const FOO: [B; 1] = [B(0)];
17 //~^ ERROR must be annotated with `#[derive(PartialEq, Eq)]`