1 2 3 4 5 6 7 8 9
// error-pattern:failed to resolve imports use x = m::f; mod m { #[legacy_exports]; } fn main() { }