rust/src/test/compile-fail/import-from-rename.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

10 lines
111 B
Rust

// error-pattern:can't rename import list
import baz = foo::{bar};
mod foo {
fn bar() {}
}
fn main() {
}