How to disable unused code warnings in Rust? code example Example: ignore #[warn(dead_code)] #[allow(dead_code)] fn dead() {}