]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-consts/mismatched_impl_ty_1.rs
2 #![feature(generic_const_exprs)]
3 #![allow(incomplete_features)]
8 const ARRAY
: Self::ArrayType
;
11 type ArrayType
= [u8; Self::SIZE
];
12 const SIZE
: usize = 4;
13 const ARRAY
: [u8; Self::SIZE
] = [1, 2, 3, 4];
17 let _
= <() as MyTrait
>::ARRAY
;