summaryrefslogtreecommitdiffstats
path: root/tests/ui/use/use-mod/use-mod-2.rs
blob: 9373a62ba36ecf91a4506154ddf292f3c833c8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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() {}