mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
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() {}
|