blob: d0752845d6748ff8ed71e390972507a5c23641a5 [file] [log] [blame] [edit]
//@ edition:2015
use spam::*; //~ ERROR unresolved import `spam` [E0432]
fn main() {
// Expect these to pass because the compiler knows there's a failed `*` import that might have
// caused it.
ham();
eggs();
// Even this case, as we might have expected `spam::foo` to exist.
foo::bar();
}