From ed7398ca30a9db50f72a53b48f653b0710908423 Mon Sep 17 00:00:00 2001 From: fengcen Date: Tue, 22 Nov 2016 08:32:04 +0800 Subject: [PATCH] fix bench. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 637cdf6..1bc8793 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,7 @@ //! #![recursion_limit="100"] #![deny(missing_docs)] -#![cfg_attr(feature = "unstable", feature(test))] +#![cfg_attr(all(feature = "unstable", test), feature(test))] #[macro_use] extern crate quick_error; @@ -547,6 +547,7 @@ mod benches { extern crate test; use eval; use tree::Tree; + use Expr; #[bench] fn bench_deep_brackets(b: &mut test::Bencher) {