//@ run-pass trait Bar {} //~ WARN trait `Bar` is never used impl Bar for [u8; 7] {} struct Foo {} impl Foo where [u8; N]: Bar<[(); N]>, { fn foo() {} } fn main() { Foo::foo(); }