pub fn run_test2<F, Ret>(treat_err_as_bug: bool, op: F) -> Result<Ret, StdErr>where F: FnOnce(Lrc<SourceMap>, Handler) -> Result<Ret, ()>,
Run test and print errors.