1 2 3 4 5 6 7 8 9 10 11 12 13 14
use mod a::b; mod a { #[legacy_exports]; mod b { #[legacy_exports]; fn f() {} } } fn main() { b::f(); }