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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
157 B
Rust
Raw Normal View History

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