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 02:16:11 -06:00
use crate::{self};
//~^ ERROR crate root imports need to be explicitly named: `use crate as name;`
fn main() {}