Skip to content

Commit b9e04e5

Browse files
committed
Print region in case of ICE
1 parent 20c499d commit b9e04e5

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/infer/error_reporting

1 file changed

+1
-1
lines changed

src/librustc/infer/error_reporting/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
181181
self.msg_span_from_early_bound_and_free_regions(region)
182182
},
183183
ty::ReStatic => ("the static lifetime".to_owned(), None),
184-
_ => bug!(),
184+
_ => bug!("{:?}", region),
185185
}
186186
}
187187

0 commit comments

Comments
 (0)