20 lines
180 B
Rust
20 lines
180 B
Rust
|
// xfail-boot
|
||
|
// error-pattern: unresolved name
|
||
|
|
||
|
import m.unexported;
|
||
|
|
||
|
mod m {
|
||
|
export exported;
|
||
|
|
||
|
fn exported() {
|
||
|
}
|
||
|
|
||
|
fn unexported() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
fn main() {
|
||
|
unexported();
|
||
|
}
|