summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0252.rs
blob: 6b5163417bf8e624bd396bcb9d838c055b44d6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(non_camel_case_types)]

use foo::baz;
use bar::baz; //~ ERROR E0252

mod foo {
    pub struct baz;
}

mod bar {
    pub mod baz {}
}

fn main() {
}