This commit is contained in:
Niko Matsakis 2018-09-10 11:03:11 -04:00
parent e87bf30f5f
commit 2b6f9664ed

View file

@ -695,9 +695,9 @@ impl TypeRelation<'me, 'gcx, 'tcx> for TypeGeneralizer<'me, 'bbcx, 'gcx, 'tcx> {
// `self.universe` universe, this also serves to enforce the
// universe scoping rules.
//
// FIXME -- if the ambient variance is bivariant, though, we
// may however need to check well-formedness or risk a problem
// like #41677 again.
// FIXME(#54105) -- if the ambient variance is bivariant,
// though, we may however need to check well-formedness or
// risk a problem like #41677 again.
let replacement_region_vid = self.type_rel
.infcx