about summary refs log tree commit diff
path: root/src/tools/tidy
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-04 00:34:55 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-04 00:34:55 +0900
commitb5ca255cd45c3a73fcdbf97b6101f1119ff2932e (patch)
tree44ceaf289f17eff75005ef4fdd6beb8955a34b01 /src/tools/tidy
parent8a57831a4b7dfa960110599748f3b7382ae28237 (diff)
downloadrust-b5ca255cd45c3a73fcdbf97b6101f1119ff2932e.tar.gz
rust-b5ca255cd45c3a73fcdbf97b6101f1119ff2932e.zip
Transition tidy and unstable-book-gento 2018 edition
Diffstat (limited to 'src/tools/tidy')
-rw-r--r--src/tools/tidy/src/main.rs1
-rw-r--r--src/tools/tidy/src/unstable_book.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/tidy/src/main.rs b/src/tools/tidy/src/main.rs
index 81b7b2a7731..66224038266 100644
--- a/src/tools/tidy/src/main.rs
+++ b/src/tools/tidy/src/main.rs
@@ -4,6 +4,7 @@
 //! etc. This is run by default on `make check` and as part of the auto
 //! builders.
 
+#![deny(rust_2018_idioms)]
 #![deny(warnings)]
 
 extern crate tidy;
diff --git a/src/tools/tidy/src/unstable_book.rs b/src/tools/tidy/src/unstable_book.rs
index bd3b1f033c7..e5f81ba29d8 100644
--- a/src/tools/tidy/src/unstable_book.rs
+++ b/src/tools/tidy/src/unstable_book.rs
@@ -1,7 +1,7 @@
 use std::collections::BTreeSet;
 use std::fs;
 use std::path;
-use features::{collect_lang_features, collect_lib_features, Features, Status};
+use crate::features::{collect_lang_features, collect_lib_features, Features, Status};
 
 pub const PATH_STR: &str = "doc/unstable-book/src";