Querify early_lint_checks.
This commit is contained in:
parent
b7e2b049f3
commit
c90fc105cb
7 changed files with 38 additions and 19 deletions
|
@ -331,6 +331,7 @@ fn run_compiler(
|
|||
if let Some(ppm) = &sess.opts.pretty {
|
||||
if ppm.needs_ast_map() {
|
||||
queries.global_ctxt()?.enter(|tcx| {
|
||||
tcx.ensure().early_lint_checks(());
|
||||
pretty::print_after_hir_lowering(tcx, *ppm);
|
||||
Ok(())
|
||||
})?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue