Skip to content

Commit 70d3c94

Browse files
Enable const-checking HIR bodies
1 parent bcc06d8 commit 70d3c94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_interface/passes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
866866
tcx.ensure().check_mod_loops(local_def_id);
867867
tcx.ensure().check_mod_attrs(local_def_id);
868868
tcx.ensure().check_mod_unstable_api_usage(local_def_id);
869+
tcx.ensure().check_mod_const_bodies(local_def_id);
869870
});
870871
});
871872
});

0 commit comments

Comments
 (0)