// xfail-test
// error-pattern:unresolved import: m::f
use x = m::f;

mod m {
    #[legacy_exports];
}

fn main() {
}

use x = m::f; //~ ERROR failed to resolve import

mod m {
    #[legacy_exports];
}

fn main() {
}

Update error message and un-xfail test
Update error message and un-xfail test
