struct Foo { array: [T; N], } trait Bar {} impl Foo { fn trigger(self) { self.unsatisfied() //~^ ERROR the trait bound `T: Bar` is not satisfied } fn unsatisfied(self) where T: Bar, { } } fn main() {}