about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-09 15:55:17 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-09 15:55:17 +0900
commite70e6eb273d449e78349dde9a0980414df102c06 (patch)
tree770d19f638b9ea4f542e1013ea9992ada018a9f0 /src
parentc0f93a6ea35c41859c21da7d90fb142fa34a2df4 (diff)
deny rust_2018_idioms
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 799aad90b7b..fdc8d851d40 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)]