16 lines
162 B
Rust
16 lines
162 B
Rust
// xfail-boot
|
|
// error-pattern: unresolved name
|
|
mod foo {
|
|
export x;
|
|
fn x(int y) {
|
|
log y;
|
|
}
|
|
fn z(int y) {
|
|
log y;
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
foo.z(10);
|
|
}
|