14 lines
123 B
Rust
14 lines
123 B
Rust
|
|
||
|
// error-pattern:unresolved name
|
||
|
|
||
|
import m1::*;
|
||
|
|
||
|
mod m1 {
|
||
|
export f1;
|
||
|
fn f1() {}
|
||
|
fn f2() {}
|
||
|
}
|
||
|
|
||
|
fn main () {
|
||
|
f2();
|
||
|
}
|