blob: c848a1c51ca37ed35bb30fe294b1597b0f022a10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
type Alias = ();
use Alias::*;
//~^ ERROR unresolved import `Alias` [E0432]
//~| not a module `Alias`
use std::io::Result::*;
//~^ ERROR unresolved import `std::io::Result` [E0432]
//~| not a module `Result`
trait T {}
use T::*; //~ ERROR items in traits are not importable
fn main() {}
|