rust/src/test/compile-fail/import2.rs

8 lines
151 B
Rust

// error-pattern: unresolved modulename
import baz::zed::bar;
mod baz { }
mod zed {
fn bar() { #debug("bar3"); }
}
fn main(args: [str]) { bar(); }