diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-04 01:05:45 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-04 01:05:45 +0900 |
| commit | 3ad0aabddab0c73dcf80f13dfb80d1a175f7364a (patch) | |
| tree | 6b50a362c0c6a502fc1d0462f8b59c47bb5d2b4c | |
| parent | 8a57831a4b7dfa960110599748f3b7382ae28237 (diff) | |
| download | rust-3ad0aabddab0c73dcf80f13dfb80d1a175f7364a.tar.gz rust-3ad0aabddab0c73dcf80f13dfb80d1a175f7364a.zip | |
Transition build_helper to 2018 edition
| -rw-r--r-- | src/build_helper/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/build_helper/lib.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/build_helper/Cargo.toml b/src/build_helper/Cargo.toml index 01d704f816b..04c7820b456 100644 --- a/src/build_helper/Cargo.toml +++ b/src/build_helper/Cargo.toml @@ -2,6 +2,7 @@ name = "build_helper" version = "0.1.0" authors = ["The Rust Project Developers"] +edition = "2018" [lib] name = "build_helper" diff --git a/src/build_helper/lib.rs b/src/build_helper/lib.rs index c66c5c92490..93aa9176812 100644 --- a/src/build_helper/lib.rs +++ b/src/build_helper/lib.rs @@ -1,3 +1,5 @@ +#![deny(rust_2018_idioms)] + use std::fs::File; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; |
