mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
20 lines
565 B
Rust
20 lines
565 B
Rust
use self::*;
|
|
//~^ ERROR unresolved import `self::*`
|
|
use crate::*;
|
|
//~^ ERROR unresolved import `crate::*`
|
|
use _::a;
|
|
//~^ ERROR expected identifier, found reserved identifier `_`
|
|
//~| ERROR unresolved import `_`
|
|
use _::*;
|
|
//~^ ERROR expected identifier, found reserved identifier `_`
|
|
//~| ERROR unresolved import `_`
|
|
|
|
fn main() {
|
|
use _::a;
|
|
//~^ ERROR expected identifier, found reserved identifier `_`
|
|
//~| ERROR unresolved import `_`
|
|
use _::*;
|
|
//~^ ERROR expected identifier, found reserved identifier `_`
|
|
//~| ERROR unresolved import `_`
|
|
}
|