2016-11-30 16:35:25 -06:00
|
|
|
mod m {}
|
|
|
|
enum E {}
|
|
|
|
struct S;
|
|
|
|
trait Tr {}
|
2016-08-03 18:51:52 -05:00
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
use {}; // OK
|
|
|
|
use ::{}; // OK
|
|
|
|
use m::{}; // OK
|
|
|
|
use E::{}; // OK
|
2018-10-27 15:38:09 -05:00
|
|
|
use S::{}; // FIXME, this and `use S::{self};` should be an error
|
|
|
|
use Tr::{}; // FIXME, this and `use Tr::{self};` should be an error
|
|
|
|
use Nonexistent::{}; //~ ERROR unresolved import `Nonexistent`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
|
|
fn main () {}
|