#![feature(const_generics)] trait A { fn foo(&self); } pub struct B([usize; N]); impl A for B<{ N }> { fn foo(&self) {} }