pub fn run_test<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.