mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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() {}
|