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::task::Waker;
use tokio_sync::AtomicWaker;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
fn is_error<T: ::std::error::Error + Send + Sync>() {}
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#[macro_use]
extern crate loom;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#[macro_use]
extern crate loom;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
#[macro_use]
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
#[path = "../src/oneshot.rs"]
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#[macro_use]
extern crate loom;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
use tokio_sync::Lock;
use tokio_test::task::spawn;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
#![feature(async_await)]
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;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
use tokio_sync::semaphore::{Permit, Semaphore};
use tokio_test::task::MockTask;
+1 -1
View File
@@ -1,4 +1,4 @@
#![deny(warnings, rust_2018_idioms)]
#![warn(rust_2018_idioms)]
use tokio_sync::watch;
use tokio_test::task::spawn;