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 00:57:10 -05:00
//~^ ERROR unresolved import `self` [E0432]
//~| no `self` in the root
use super::{self};
2016-08-22 00:57:10 -05:00
//~^ ERROR unresolved import `super` [E0432]
//~| no `super` in the root
}
fn main() {}