2016-03-08 21:54:46 +00:00
|
|
|
type Alias = ();
|
2016-08-22 13:57:10 +08:00
|
|
|
use Alias::*;
|
2017-07-23 15:15:45 -07:00
|
|
|
//~^ ERROR unresolved import `Alias` [E0432]
|
2018-11-14 02:52:26 +03:00
|
|
|
//~| not a module `Alias`
|
2016-08-22 13:57:10 +08:00
|
|
|
use std::io::Result::*;
|
2017-07-23 15:15:45 -07:00
|
|
|
//~^ ERROR unresolved import `std::io::Result` [E0432]
|
2018-11-14 02:52:26 +03:00
|
|
|
//~| not a module `Result`
|
2016-03-08 21:54:46 +00:00
|
|
|
|
2016-03-08 22:27:12 +00:00
|
|
|
trait T {}
|
|
|
|
use T::*; //~ ERROR items in traits are not importable
|
|
|
|
|
2016-03-08 21:54:46 +00:00
|
|
|
fn main() {}
|