diff options
| author | Taiki Endo <te316e89@gmail.com> | 2019-02-06 23:18:33 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2019-02-06 23:18:33 +0900 |
| commit | d4a60e01d158d508b50427167c399ef2a964bddd (patch) | |
| tree | bb4dac06a3bd3ba9808996c1c371b48ee1b01320 | |
| parent | b139669f374eb5024a50eb13f116ff763b1c5935 (diff) | |
librustc_fs_util => 2018
| -rw-r--r-- | src/librustc_fs_util/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_fs_util/lib.rs | 2 |
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; |
