Skip to content

Commit ca5a212

Browse files
nikomatsakisscalexm
authored andcommitted
expand the fixme
1 parent 0cb7926 commit ca5a212

File tree

1 file changed

+4
-1
lines changed
  • src/librustc/infer/nll_relate

1 file changed

+4
-1
lines changed

src/librustc/infer/nll_relate/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,10 @@ where
322322
let vid = pair.vid();
323323
let value_ty = pair.value_ty();
324324

325-
// FIXME -- this logic assumes invariance, but that is wrong
325+
// FIXME -- this logic assumes invariance, but that is wrong.
326+
// This only presently applies to chalk integration, as NLL
327+
// doesn't permit type variables to appear on both sides (and
328+
// doesn't use lazy norm).
326329
match value_ty.sty {
327330
ty::Infer(ty::TyVar(value_vid)) => {
328331
// Two type variables: just equate them.

0 commit comments

Comments
 (0)