2020-12-07 02:01:35 +03:00
|
|
|
use baz::zed::bar; //~ ERROR unresolved import `baz::zed` [E0432]
|
|
|
|
//~^ could not find `zed` in `baz`
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2020-12-07 02:01:35 +03:00
|
|
|
mod baz {}
|
2011-01-07 17:38:13 -05:00
|
|
|
mod zed {
|
2020-12-07 02:01:35 +03:00
|
|
|
pub fn bar() { println!("bar3"); }
|
|
|
|
}
|
|
|
|
fn main() {
|
|
|
|
bar();
|
2011-01-07 17:38:13 -05:00
|
|
|
}
|