about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-02-06 23:18:33 +0900
committerTaiki Endo <te316e89@gmail.com>2019-02-06 23:18:33 +0900
commitd4a60e01d158d508b50427167c399ef2a964bddd (patch)
treebb4dac06a3bd3ba9808996c1c371b48ee1b01320
parentb139669f374eb5024a50eb13f116ff763b1c5935 (diff)
librustc_fs_util => 2018
-rw-r--r--src/librustc_fs_util/Cargo.toml1
-rw-r--r--src/librustc_fs_util/lib.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_fs_util/Cargo.toml b/src/librustc_fs_util/Cargo.toml
index e40b44204b3..47918643f31 100644
--- a/src/librustc_fs_util/Cargo.toml
+++ b/src/librustc_fs_util/Cargo.toml
@@ -2,6 +2,7 @@
 authors = ["The Rust Project Developers"]
 name = "rustc_fs_util"
 version = "0.0.0"
+edition = "2018"
 
 [lib]
 name = "rustc_fs_util"
diff --git a/src/librustc_fs_util/lib.rs b/src/librustc_fs_util/lib.rs
index 74ff121f803..340681d65c3 100644
--- a/src/librustc_fs_util/lib.rs
+++ b/src/librustc_fs_util/lib.rs
@@ -1,3 +1,5 @@
+#![deny(rust_2018_idioms)]
+
 use std::path::{Path, PathBuf};
 use std::ffi::CString;
 use std::fs;