//@ run-pass pub trait Foo { fn foo(&self); } impl Foo for [T; N] { fn foo(&self) { let _ = &self; } } fn main() {}