diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-06 10:56:53 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-06 11:26:29 +0000 |
| commit | c90fc105cba334c37b2773a054d4f234b501b481 (patch) | |
| tree | 42d55952dce82e9ea6e666d28628047f576085d4 /compiler/rustc_driver_impl/src | |
| parent | b7e2b049f3ef7e082af832fa53ab6af0a45baa62 (diff) | |
| download | rust-c90fc105cba334c37b2773a054d4f234b501b481.tar.gz rust-c90fc105cba334c37b2773a054d4f234b501b481.zip | |
Querify early_lint_checks.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 464ddae476a..e321a9847ba 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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(()) })?; |
