Skip to content

Commit

Permalink
Update from TyKind::Anon to TyKind::Opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Sep 13, 2018
1 parent 37e18b1 commit 18c1374
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -489,7 +489,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
Some(ty::RegionKind::ReStatic)
) = (self.to_error_region(fr), self.to_error_region(outlived_fr)) {
if let Some(ty::TyS {
sty: ty::TyKind::Anon(did, substs),
sty: ty::TyKind::Opaque(did, substs),
..
}) = infcx.tcx.is_suitable_region(f)
.map(|r| r.def_id)
Expand Down

0 comments on commit 18c1374

Please sign in to comment.