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

12 lines
242 B
Rust
Raw Normal View History

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