mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +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() {}
|