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

// https://github.com/rust-lang/rust/pull/124840#issuecomment-2098148587

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

fn main() {}