mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 08:25:01 +01:00
15 lines
224 B
Rust
15 lines
224 B
Rust
mod A {
|
|
/// ~REQUIRE-DELETED S1
|
|
pub struct S1;
|
|
pub struct S2;
|
|
}
|
|
|
|
mod B {
|
|
use crate::A::{self, S1};
|
|
pub use A::S2 as thingy;
|
|
}
|
|
|
|
fn main() {
|
|
"~MINIMIZE-ROOT let x = B::thingy";
|
|
let x = B::thingy;
|
|
}
|