fix bench.
This commit is contained in:
parent
c2e3401c74
commit
ed7398ca30
@ -92,7 +92,7 @@
|
|||||||
//!
|
//!
|
||||||
#![recursion_limit="100"]
|
#![recursion_limit="100"]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![cfg_attr(feature = "unstable", feature(test))]
|
#![cfg_attr(all(feature = "unstable", test), feature(test))]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate quick_error;
|
extern crate quick_error;
|
||||||
@ -547,6 +547,7 @@ mod benches {
|
|||||||
extern crate test;
|
extern crate test;
|
||||||
use eval;
|
use eval;
|
||||||
use tree::Tree;
|
use tree::Tree;
|
||||||
|
use Expr;
|
||||||
|
|
||||||
#[bench]
|
#[bench]
|
||||||
fn bench_deep_brackets(b: &mut test::Bencher) {
|
fn bench_deep_brackets(b: &mut test::Bencher) {
|
||||||
|
Loading…
Reference in New Issue
Block a user