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

11 lines
115 B
Rust

// error-pattern:expected
use baz = foo::{bar};
mod foo {
#[legacy_exports];
fn bar() {}
}
fn main() {
}