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

14 lines
123 B
Rust
Raw Normal View History

// error-pattern:unresolved name
import m1::*;
mod m1 {
export f1;
fn f1() {}
fn f2() {}
}
fn main () {
f2();
}