let res = interface::run_compiler(config, |compiler| {
compiler.enter(|queries| {
- let _lower_to_hir = queries.lower_to_hir()?;
let mut global_ctxt = queries.global_ctxt()?.take();
let collector = global_ctxt.enter(|tcx| {
// compiler failures are test failures
should_panic: testing::ShouldPanic::No,
allow_fail: config.allow_fail,
- #[cfg(not(bootstrap))]
compile_fail: config.compile_fail,
- #[cfg(not(bootstrap))]
no_run,
test_type: testing::TestType::DocTest,
},