Closes https://github.com/rust-lang/rust/issues/135600 Effectivly reverts https://github.com/rust-lang/rust/pull/134880
11 lines
176 B
Rust
11 lines
176 B
Rust
pub mod m1 {
|
|
pub struct InPubMod;
|
|
}
|
|
|
|
mod m2 {
|
|
pub struct InPrivMod;
|
|
}
|
|
|
|
pub use m1::{InPubMod, InPubMod as InPubMod2};
|
|
pub use m2::{InPrivMod, InPrivMod as InPrivMod2};
|