rust/src/test/compile-fail/import-from-rename.rs

10 lines
111 B
Rust
Raw Normal View History

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