expand the fixme

This commit is contained in:
Niko Matsakis 2019-03-20 12:52:36 -04:00 committed by scalexm
parent 0cb7926e05
commit ca5a2122cc

View file

@ -322,7 +322,10 @@ where
let vid = pair.vid();
let value_ty = pair.value_ty();
// FIXME -- this logic assumes invariance, but that is wrong
// FIXME -- this logic assumes invariance, but that is wrong.
// This only presently applies to chalk integration, as NLL
// doesn't permit type variables to appear on both sides (and
// doesn't use lazy norm).
match value_ty.sty {
ty::Infer(ty::TyVar(value_vid)) => {
// Two type variables: just equate them.