rust/tests/ui/use/use-crate-self.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
121 B
Rust
Raw Normal View History

2022-11-13 08:16:11 +00:00
use crate::{self};
//~^ ERROR crate root imports need to be explicitly named: `use crate as name;`
fn main() {}