Skip to content

Commit 18c1374

Browse files
committed
Update from TyKind::Anon to TyKind::Opaque
1 parent 37e18b1 commit 18c1374

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_mir/borrow_check/nll/region_infer/error_reporting

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/nll/region_infer/error_reporting/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
489489
Some(ty::RegionKind::ReStatic)
490490
) = (self.to_error_region(fr), self.to_error_region(outlived_fr)) {
491491
if let Some(ty::TyS {
492-
sty: ty::TyKind::Anon(did, substs),
492+
sty: ty::TyKind::Opaque(did, substs),
493493
..
494494
}) = infcx.tcx.is_suitable_region(f)
495495
.map(|r| r.def_id)

0 commit comments

Comments
 (0)