#![feature(const_generics)] #![allow(incomplete_features)] trait Bar {} impl Bar for [u8; T] {} //~^ ERROR expected value, found type parameter `T` struct Foo {} impl Foo where [u8; N]: Bar<[(); N]>, { fn foo() {} } fn main() { Foo::foo(); //~^ ERROR no function or associated item }