cargo-minimize/full-tests/reexports.rs

12 lines
198 B
Rust

use hello::{thingy, whatever};
mod hello{
pub fn thingy(){}
/// ~REQUIRE-DELETED whatever
pub fn whatever(){}
}
fn main(){
"~MINIMIZE-ROOT let x = thingy";
let x = thingy();
}