cargo-minimize/full-tests/reexports2.rs
2025-04-20 15:54:50 +02:00

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;
}