#![feature(const_generics)] #![allow(incomplete_features, unused_braces)] trait Bar {} impl Bar for [u8; {7}] {} struct Foo {} impl Foo where [u8; N]: Bar<[(); N]>, { fn foo() {} } fn main() { Foo::foo(); //~^ ERROR the function or associated item }