From cf5c3600648cb2acf42aaa4af5822b4489c86e01 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Mon, 4 Mar 2019 18:17:41 +0100 Subject: Export stats::Summary from libtest --- src/libtest/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libtest') diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index bd7f89c3f66..3fcba0f5791 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -17,11 +17,14 @@ #![feature(test)] extern crate libtest; + +// FIXME: we should be more explicit about the exact APIs that we +// export to users. pub use libtest::{ assert_test_result, filter_tests, parse_opts, run_test, test_main, test_main_static, Bencher, DynTestFn, DynTestName, Metric, MetricMap, Options, RunIgnored, ShouldPanic, StaticBenchFn, StaticTestFn, StaticTestName, TestDesc, TestDescAndFn, TestName, TestOpts, - TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk, + TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk, stats::Summary }; /// A function that is opaque to the optimizer, to allow benchmarks to -- cgit 1.4.1-3-g733a5