Skip to content

Commit d1033d0

Browse files
committed
add FIXME to #18653
1 parent e4b762b commit d1033d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc/infer/combine.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ impl<'infcx, 'gcx, 'tcx> CombineFields<'infcx, 'gcx, 'tcx> {
224224
// Check whether `vid` has been instantiated yet. If not,
225225
// make a generalized form of `ty` and instantiate with
226226
// that.
227+
//
228+
// FIXME(#18653) -- we need to generalize nested type
229+
// variables too.
227230
let b_ty = match b_ty {
228231
Some(t) => t, // ...already instantiated.
229232
None => { // ...not yet instantiated:

0 commit comments

Comments
 (0)