blob: 00b3b29698bed85cb66f2eb7115eff3c82dcbbd7 [file] [log] [blame]
// revisions:rpass1
#![feature(const_generics)]
struct Struct<T>(T);
impl<T, const N: usize> Struct<[T; N]> {
fn f() {}
fn g() { Self::f(); }
}
fn main() {
Struct::<[u32; 3]>::g();
}