// Regression test for . // It ensures that the expected error is displayed. #![feature(associated_const_equality)] trait T { type A: S = 34>; //~^ ERROR associated type bindings are not allowed here //~| ERROR associated type bindings are not allowed here } trait S { const C: i32; } fn main() {}