rust/src/test/compile-fail/export-import.rs

23 lines
228 B
Rust
Raw Normal View History

// xfail-boot
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: unresolved name
import m.unexported;
mod m {
export exported;
fn exported() {
}
fn unexported() {
}
}
fn main() {
unexported();
}