1 // Pre-existing behavior has been to reject patterns with consts
2 // denoting non-empty arrays of non-`Eq` types, but *accept* empty
3 // arrays of such types.
5 // See rust-lang/rust#62336.
9 #[derive(PartialEq, Debug)]
13 const FOO: [B; 0] = [];