We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe37929 commit 43738c6Copy full SHA for 43738c6
compiler/rustc_mir/src/borrow_check/region_infer/opaque_types.rs
@@ -82,15 +82,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
82
.find(|ur_vid| self.eval_equal(vid, **ur_vid))
83
.and_then(|ur_vid| self.definitions[*ur_vid].external_name)
84
.unwrap_or(infcx.tcx.lifetimes.re_root_empty),
85
- ty::ReLateBound(..) => region,
86
- ty::ReStatic => region,
87
- _ => {
88
- infcx.tcx.sess.delay_span_bug(
89
- span,
90
- &format!("unexpected concrete region in borrowck: {:?}", region),
91
- );
92
- region
93
- }
+ _ => region,
94
});
95
96
debug!(?universal_concrete_type, ?universal_substs);
0 commit comments