2011-05-09 12:40:09 +02:00
|
|
|
// error-pattern: unresolved import
|
2011-05-01 17:22:20 -04:00
|
|
|
|
2011-05-12 17:24:54 +02:00
|
|
|
import m::unexported;
|
2011-05-01 17:22:20 -04:00
|
|
|
|
|
|
|
mod m {
|
|
|
|
export exported;
|
|
|
|
|
|
|
|
fn exported() {
|
|
|
|
}
|
|
|
|
|
|
|
|
fn unexported() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
unexported();
|
|
|
|
}
|