From 0619303d24082ccabd92a4d0ab5e82d0e4905cb9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 21 Jun 2019 09:47:58 -0700 Subject: [PATCH] Update xcrate test to 2018 --- tests/xcrate.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/xcrate.rs b/tests/xcrate.rs index f42b877..e7b4a36 100644 --- a/tests/xcrate.rs +++ b/tests/xcrate.rs @@ -1,7 +1,4 @@ -#[macro_use] -extern crate cfg_if; - -cfg_if! { +cfg_if::cfg_if! { if #[cfg(foo)] { fn works() -> bool { false } } else if #[cfg(test)] {