Function testing::run_test2

source ·
pub fn run_test2<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.