mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +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 `_`
|
|
}
|