How to Suppress Warnings in Rust
Silent Warning on Specific Expression
add the allow(warning_type)
attribute to the affected expression or any of its parents
fn main() {
#[allow(unused_variables)]
let not_used = 27;
#[allow(path_statements)]
std::io::stdin;
println!("hi!");
}