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