2 // Before the introduction of the "duplicate associated type" error, the
3 // program below used to result in the "ambiguous associated type" error E0223,
4 // which is unexpected.
14 type Bar = u16; //~ ERROR duplicate definitions
19 //~^ ERROR ambiguous associated type