diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-04 00:05:53 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2019-02-05 09:48:21 +0900 |
| commit | 5d9eed4191c3edae4704737a95706dcf714334f8 (patch) | |
| tree | 8dd9ea7d704ead2c7d898709ab8bbe17c344487e /src/tools | |
| parent | 8ae730a442cc8af6a487a137ae9ba78f89edbba6 (diff) | |
| download | rust-5d9eed4191c3edae4704737a95706dcf714334f8.tar.gz rust-5d9eed4191c3edae4704737a95706dcf714334f8.zip | |
Transition build-manifest to 2018 edition
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/build-manifest/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/tools/build-manifest/src/main.rs | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/build-manifest/Cargo.toml b/src/tools/build-manifest/Cargo.toml index 844b7aad72f..0fda887ea61 100644 --- a/src/tools/build-manifest/Cargo.toml +++ b/src/tools/build-manifest/Cargo.toml @@ -2,6 +2,7 @@ name = "build-manifest" version = "0.1.0" authors = ["Alex Crichton <alex@alexcrichton.com>"] +edition = "2018" [dependencies] toml = "0.4" diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 4ca285b9b1d..5e8559725f1 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -1,4 +1,6 @@ -extern crate toml; +#![deny(rust_2018_idioms)] + +use toml; #[macro_use] extern crate serde_derive; |
