Closed
Description
openedon Mar 6, 2013
This use statement doesn't resolve:
mod foo {
pub fn bar() { }
}
mod baz {
use super::foo;
fn main() {
foo::bar();
}
}
This one does:
mod foo {
pub fn bar() { }
}
mod baz {
use super::foo::bar;
fn main() {
bar();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment