about summary refs log tree commit diff
path: root/tests/ui/imports/cycle-import-in-diff-module-1.rs
blob: 8c67df376c3f915f4dfb4773f4d4199b11e68c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ check-pass

// similar `cycle-import-in-diff-module-0.rs`

mod a {
    pub(crate) use crate::s;
}
mod b {
    pub mod s {}
}
use self::b::*;
use self::a::s;

fn main() {}