about summary refs log tree commit diff
path: root/tests/ui/use/use-mod/use-mod-2.rs
blob: 57ff135c4d85a98fdc0e7868a4bdff4e58c7946d (plain)
1
2
3
4
5
6
7
8
9
10
11
mod foo {
    use self::{self};
    //~^ ERROR unresolved import `self` [E0432]
    //~| NOTE no `self` in the root

    use super::{self};
    //~^ ERROR unresolved import `super` [E0432]
    //~| NOTE no `super` in the root
}

fn main() {}