Add #[rustc_dump_{predicates,item_bounds}]

This commit is contained in:
León Orell Valerian Liehr
2024-06-19 14:24:25 +02:00
parent bc12972bcd
commit 38bd7a0fcb
6 changed files with 95 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ pub fn check_crate(tcx: TyCtxt<'_>) {
tcx.sess.time("outlives_dumping", || outlives::dump::inferred_outlives(tcx));
tcx.sess.time("variance_dumping", || variance::dump::variances(tcx));
collect::dump::opaque_hidden_types(tcx);
collect::dump::predicates_and_item_bounds(tcx);
}
// Make sure we evaluate all static and (non-associated) const items, even if unused.