coverage: Add #[rustfmt::skip]
to tests with non-standard formatting
These tests deliberately use non-standard formatting, so that the line execution counts reported by `llvm-cov` reveal additional information about where code regions begin and end.
This commit is contained in:
parent
714b29a17f
commit
f1494425bb
42 changed files with 178 additions and 142 deletions
|
@ -1,5 +1,6 @@
|
|||
#![allow(unused_assignments, unused_variables)]
|
||||
|
||||
#[rustfmt::skip]
|
||||
fn main() {
|
||||
// Initialize test constants in a way that cannot be determined at compile time, to ensure
|
||||
// rustc and LLVM cannot optimize out statements (or coverage counters) downstream from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue