1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// xfail-stage0 // error-pattern: unknown module item // rustboot has a different error message than rustc // this test can die with rustboot, or rustc's error can change mod foo { export x; fn x(int y) { log y; } fn z(int y) { log y; } } fn main() { foo.z(10); }