mirror of https://github.com/rust-lang/rust.git
15 lines
175 B
Rust
15 lines
175 B
Rust
|
//@ 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() {}
|