rust/tests/ui/imports/cycle-import-in-diff-module-1.rs

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() {}