// Test that projection bounds can't be specialized on. #![feature(min_specialization)] trait X { fn f(); } trait Id { type This; } impl Id for T { type This = T; } impl X for T { default fn f() {} } impl> X for V { //~^ ERROR cannot specialize on fn f() {} } fn main() {}