// Regression test for . trait B { type C; } impl B for &Missing { //~^ ERROR cannot find type `Missing` in this scope type C = (); } struct E { g: ::C, } fn h(i: Box>) {} fn main() {}