Function testing::run_test

source ·
pub fn run_test<F, Ret>(treat_err_as_bug: bool, op: F) -> Result<Ret, StdErr>
where F: FnOnce(Lrc<SourceMap>, &Handler) -> Result<Ret, ()>,
Expand description

Run test and print errors.