diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-03 21:32:59 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-03 22:45:52 +0900 |
| commit | 9f34d4b3572f7db45cbe7108f392280ebc18b301 (patch) | |
| tree | 7eb2b35be89f92be720f6b658f874c967d67de1c /src/tools | |
| parent | 2966fbc10d0fd4fe15a25608b9eca3e52ba24995 (diff) | |
| download | rust-9f34d4b3572f7db45cbe7108f392280ebc18b301.tar.gz rust-9f34d4b3572f7db45cbe7108f392280ebc18b301.zip | |
Use 2018 edition for cargotest
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/cargotest/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/tools/cargotest/main.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/cargotest/Cargo.toml b/src/tools/cargotest/Cargo.toml index f4163a6f117..3811fee3936 100644 --- a/src/tools/cargotest/Cargo.toml +++ b/src/tools/cargotest/Cargo.toml @@ -2,6 +2,7 @@ name = "cargotest2" version = "0.1.0" authors = ["Brian Anderson <banderson@mozilla.com>"] +edition = "2018" [[bin]] name = "cargotest" diff --git a/src/tools/cargotest/main.rs b/src/tools/cargotest/main.rs index 120f238eb45..7f3c159075b 100644 --- a/src/tools/cargotest/main.rs +++ b/src/tools/cargotest/main.rs @@ -1,3 +1,5 @@ +#![deny(rust_2018_idioms)] + use std::env; use std::process::Command; use std::path::{Path, PathBuf}; |
