rust/src/test/compile-fail/import-from-none.rs
Brian Anderson cd54e77720 Allow multiple imports in a single statement
Like so: import foo::{bar, baz};

Issue #817
2011-08-17 11:04:56 -07:00

8 lines
94 B
Rust

// error-pattern:at least one import is required
import spam::{};
mod spam {
}
fn main() {
}