Skip to content

Commit 929e82f

Browse files
committed
More debugging
1 parent 0b4299a commit 929e82f

File tree

1 file changed

+5
-0
lines changed
  • compiler/rustc_borrowck/src/region_infer

1 file changed

+5
-0
lines changed

compiler/rustc_borrowck/src/region_infer/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,11 @@ impl<'tcx> RegionInferenceContext<'tcx> {
560560
// universe of the scc can name this region.
561561
let scc_universe = self.scc_universes[scc];
562562
if scc_universe.can_name(placeholder.universe) {
563+
debug!(
564+
"init_free_and_bound_regions: placeholder {:?} *is* \
565+
compatible with universe {:?} of its SCC {:?}",
566+
placeholder, scc_universe, scc,
567+
);
563568
self.scc_values.add_element(scc, placeholder);
564569
} else {
565570
debug!(

0 commit comments

Comments
 (0)