rust/tests/ui/imports/issue-28388-1.rs

6 lines
157 B
Rust

// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
use foo::{}; //~ ERROR unresolved import `foo`
fn main() {}