rust/tests/ui/use/use-mod/use-mod-2.rs
2023-01-11 09:32:08 +00:00

12 lines
232 B
Rust

mod foo {
use self::{self};
//~^ ERROR unresolved import `self` [E0432]
//~| no `self` in the root
use super::{self};
//~^ ERROR unresolved import `super` [E0432]
//~| no `super` in the root
}
fn main() {}