rust/tests/ui/use/use-mod/use-mod-2.rs

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

12 lines
232 B
Rust
Raw Normal View History

mod foo {
use self::{self};
2016-08-22 05:57:10 +00:00
//~^ ERROR unresolved import `self` [E0432]
//~| no `self` in the root
use super::{self};
2016-08-22 05:57:10 +00:00
//~^ ERROR unresolved import `super` [E0432]
//~| no `super` in the root
}
fn main() {}