summary refs log tree commit diff
path: root/bit_field
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@chromium.org>2019-03-12 21:00:34 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-07 23:24:29 -0700
commitcbe9be0b208a3c3979608c09d743a90ac9dc7bf9 (patch)
treefb40aff9f3366da427994f15c22ab28c8514bc28 /bit_field
parent021e975f4693e7024ca9d68c28c6c306b837bf69 (diff)
downloadcrosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar.gz
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar.bz2
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar.lz
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar.xz
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.tar.zst
crosvm-cbe9be0b208a3c3979608c09d743a90ac9dc7bf9.zip
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 <dtolnay@chromium.org>
Tested-by: David Tolnay <dtolnay@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: David Tolnay <dtolnay@chromium.org>
Diffstat (limited to 'bit_field')
-rw-r--r--bit_field/Cargo.toml1
-rw-r--r--bit_field/bit_field_derive/Cargo.toml1
2 files changed, 2 insertions, 0 deletions
diff --git a/bit_field/Cargo.toml b/bit_field/Cargo.toml
index fe87900..ac8846c 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 05d5a36..2946ddb 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"