diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-09 00:15:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-09 00:15:48 +0100 |
| commit | 6f5941e113b7951fda69f58e15aafe5632a390f0 (patch) | |
| tree | 33064698bef9f3eef3a30db40a20c95b35b146f1 | |
| parent | f67477901215d90e8be137606f58f2ea9f0d40e0 (diff) | |
| parent | 3ad0aabddab0c73dcf80f13dfb80d1a175f7364a (diff) | |
Rollup merge of #58120 - h-michael:build_helper-theme-2018, r=Centril
Transition build_helper to 2018 edition Transitions build_helper to Rust 2018; cc #58099 r? @Centril
| -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}; |
