mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
13 lines
241 B
Rust
13 lines
241 B
Rust
use std::collections::HashMap;
|
|
|
|
/// ~REQUIRE-DELETED user-fn
|
|
fn user(mut map: HashMap<(), ()>) {
|
|
map.insert((), ());
|
|
}
|
|
|
|
/// ~MINIMIZE-ROOT main
|
|
fn main() {
|
|
let map = HashMap::new();
|
|
user(map);
|
|
"~REQUIRE-DELETED main-body";
|
|
}
|