summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-30560.rs
blob: d8d4ca608f1c07f1d8b869f78f629168c7367bda (plain)
1
2
3
4
5
6
7
8
9
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() {}