#![crate_type="lib"] struct A; trait Foo {} impl Foo for A {} //~^ ERROR cannot find type //~| unresolved item provided when a constant struct B; impl Foo for B {} //~^ ERROR type provided when a constant struct C; impl Foo for C {} //~^ ERROR cannot find type //~| unresolved item provided when a constant