CI: error on dead/unused code for features (#146)

By using `RUSTFLAGS="-D dead_code -D unused-variables -D unused"`, we tell
the compiler to upgrade warnings for unused code to errors. This combined
with a more elaborate test matrix means we can have the CI catch feature
flag combos that cause warnings.
This commit is contained in:
Martin Algesten authored and GitHub committed 2020-09-18 13:55:23 -07:00
1 parent f599828c6d
commit 05ffe53e4c
3 files changed
+35 -9

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
#![allow(dead_code)]
use crate::test;
use crate::test::testserver::{read_headers, TestServer};
use std::io::{self, Write};