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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
203 B
Rust
Raw Normal View History

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