blob: 325c69b43c1bef70d08dfa78e2b754a0d464f681 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
mod m {}
enum E {}
struct S;
trait Tr {}
use {}; // OK
use ::{}; // OK
use m::{}; // OK
use E::{}; // OK
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`
fn main () {}
|