mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
203 B
Rust
15 lines
203 B
Rust
//@ 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() {}
|