1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// error-pattern:import mod a { #[legacy_exports]; import b::x; export x; } mod b { #[legacy_exports]; import a::x; export x; fn main() { let y = x; } }