]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/hir_id_validator.rs
Rollup merge of #99787 - aDotInTheVoid:rdj-dyn, r=camelid,notriddle,GuillaumeGomez
[rust.git] / compiler / rustc_passes / src / hir_id_validator.rs
index 9deb0042ff3608c52053238212985fdda7d048dc..212ea9e57a37b5badcf63151f87b220c108fefa8 100644 (file)
@@ -11,7 +11,7 @@
 pub fn check_crate(tcx: TyCtxt<'_>) {
     tcx.dep_graph.assert_ignored();
 
-    if tcx.sess.opts.debugging_opts.hir_stats {
+    if tcx.sess.opts.unstable_opts.hir_stats {
         crate::hir_stats::print_hir_stats(tcx);
     }