From cbe9be0b208a3c3979608c09d743a90ac9dc7bf9 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 12 Mar 2019 21:00:34 -0700 Subject: [PATCH] edition: Update bit_field and bit_field_derive to 2018 edition Separated out of CL:1513058 to make it possible to land parts individually while the affected crate has no other significant CLs pending. This avoids repeatedly introducing non-textual conflicts with new code that adds `use` statements. TEST=cargo check TEST=cargo check --all-features TEST=cargo check --target aarch64-unknown-linux-gnu Change-Id: Ie62d28d63257e59e6bee68b5c42a1f4cf7b47bed Reviewed-on: https://chromium-review.googlesource.com/1519690 Commit-Ready: David Tolnay Tested-by: David Tolnay Tested-by: kokoro Reviewed-by: David Tolnay --- bit_field/Cargo.toml | 1 + bit_field/bit_field_derive/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/bit_field/Cargo.toml b/bit_field/Cargo.toml index fe8790098f..ac8846ca14 100644 --- a/bit_field/Cargo.toml +++ b/bit_field/Cargo.toml @@ -2,6 +2,7 @@ name = "bit_field" version = "0.1.0" authors = ["The Chromium OS Authors"] +edition = "2018" [dependencies] bit_field_derive = { path = "bit_field_derive" } diff --git a/bit_field/bit_field_derive/Cargo.toml b/bit_field/bit_field_derive/Cargo.toml index 05d5a36bd3..2946ddb5fc 100644 --- a/bit_field/bit_field_derive/Cargo.toml +++ b/bit_field/bit_field_derive/Cargo.toml @@ -2,6 +2,7 @@ name = "bit_field_derive" version = "0.1.0" authors = ["The Chromium OS Authors"] +edition = "2018" [dependencies] syn = "=0.15"