Enable extra warnings required by rust-lang/rust

This commit is contained in:
Amos Wenger 2022-07-20 14:59:42 +02:00
parent 0ded8e734f
commit 23d25a3094
38 changed files with 84 additions and 0 deletions

View file

@ -6,6 +6,9 @@
//!
//! Hopefully, one day a reliable file watching/walking crate appears on
//! crates.io, and we can reduce this to trivial glue code.
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
use std::fs;
use crossbeam_channel::{never, select, unbounded, Receiver, Sender};