chore: change default lint level to warning and deny warnings in CI (#1416)

This commit is contained in:
Taiki Endo
2019-08-10 00:07:57 +09:00
committed by GitHub
parent 18833a8e67
commit 73102760cf
126 changed files with 128 additions and 145 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
use std::time::Instant;
use tokio_timer::clock;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
use tokio_test::task::MockTask;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
use tokio_current_thread::CurrentThread;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
use tokio_test::task::MockTask;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
use tokio_test::task::MockTask;
use tokio_test::{assert_ok, assert_pending, assert_ready, clock};
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![cfg(feature = "async-traits")]
use tokio_sync::mpsc;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
use tokio_sync::oneshot;