rust/src/test/compile-fail/import-glob-rename.rs
2011-08-17 11:04:05 -07:00

10 lines
115 B
Rust

// error-pattern:globbed imports can't be renamed
import baz = foo::*;
mod foo {
fn bar() {}
}
fn main() {
}