rust/tests/ui/parser/import-from-rename.rs

11 lines
99 B
Rust

//@ error-pattern:expected
use foo::{bar} as baz;
mod foo {
pub fn bar() {}
}
fn main() {
}