From e70e6eb273d449e78349dde9a0980414df102c06 Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Sat, 9 Feb 2019 15:55:17 +0900 Subject: [PATCH] deny rust_2018_idioms --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 799aad90b7b0..fdc8d851d406 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![deny(rust_2018_idioms)] + #[macro_use] extern crate derive_new; #[cfg(test)]