summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-02-11 04:24:34 +0900
committerTaiki Endo <te316e89@gmail.com>2019-02-28 04:06:15 +0900
commit0749a04fb64f1423e811c280de8206cdc5715004 (patch)
tree30fb177c956c0de0f580273f6343cb7c4b204043
parent93b6d9e086c6910118a57e4332c9448ab550931f (diff)
downloadrust-0749a04fb64f1423e811c280de8206cdc5715004.tar.gz
Fix #[macro_use] extern crate in sys/cloudabi
-rw-r--r--src/libstd/sys/cloudabi/abi/bitflags.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sys/cloudabi/abi/bitflags.rs b/src/libstd/sys/cloudabi/abi/bitflags.rs
index f764cc1df5a..306936213ed 100644
--- a/src/libstd/sys/cloudabi/abi/bitflags.rs
+++ b/src/libstd/sys/cloudabi/abi/bitflags.rs
@@ -25,8 +25,7 @@
// ignore-license
#[cfg(feature = "bitflags")]
-#[macro_use]
-extern crate bitflags;
+use bitflags::bitflags;
// Minimal implementation of bitflags! in case we can't depend on the bitflags
// crate. Only implements `bits()` and a `from_bits_truncate()` that doesn't