trait Foo { fn foo(x: T); } impl Foo for bool { fn foo(x: T) where T: Copy {} //~ ERROR E0276 } fn main() { }