rust/tests/run-coverage/auxiliary/unused_mod_helper.rs
Zalathar 72b721f48e Resolve all warnings in run-coverage tests
When one of these tests fails, any compiler warnings will be printed to the
console, which makes it harder to track down the actual reason for failure.

(The outstanding warnings were found by temporarily adding `-Dwarnings` to the
compiler arguments for `RunCoverage` in `src/tools/compiletest/src/runtest.rs`.)
2023-08-26 14:35:34 +10:00

5 lines
90 B
Rust

#[allow(dead_code)]
pub fn never_called_function() {
println!("I am never called");
}