rust/tests/ui/imports/issue-30560.rs
2023-01-11 09:32:08 +00:00

10 lines
235 B
Rust

type Alias = ();
use Alias::*; //~ ERROR unresolved import `Alias` [E0432]
use std::io::Result::*; //~ ERROR unresolved import `std::io::Result` [E0432]
trait T {}
use T::*; //~ ERROR items in traits are not importable
fn main() {}