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`.)
This commit is contained in:
parent
9334ec9354
commit
72b721f48e
20 changed files with 22 additions and 20 deletions
|
@ -1,5 +1,3 @@
|
|||
LL| |#![feature(or_patterns)]
|
||||
LL| |
|
||||
LL| 1|fn main() {
|
||||
LL| 1| // Initialize test constants in a way that cannot be determined at compile time, to ensure
|
||||
LL| 1| // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue