rust/tests/run-coverage/unused_mod.coverage
Zalathar bfb16545a3 coverage: Anonymize line numbers in run-coverage test snapshots
This makes the test snapshots less sensitive to lines being added/removed.
2023-08-17 10:03:32 +10:00

14 lines
362 B
Plaintext

$DIR/auxiliary/unused_mod_helper.rs:
LL| 0|pub fn never_called_function() {
LL| 0| println!("I am never called");
LL| 0|}
$DIR/unused_mod.rs:
LL| |#[path = "auxiliary/unused_mod_helper.rs"]
LL| |mod unused_module;
LL| |
LL| 1|fn main() {
LL| 1| println!("hello world!");
LL| 1|}