#![crate_type="lib"] #![feature(min_const_generics)] #![allow(incomplete_features)] 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