add FIXME to #18653

This commit is contained in:
Niko Matsakis
2017-04-03 15:59:34 -04:00
parent e4b762b532
commit d1033d06ba
+3
View File
@@ -224,6 +224,9 @@ pub fn instantiate(&mut self,
// Check whether `vid` has been instantiated yet. If not,
// make a generalized form of `ty` and instantiate with
// that.
//
// FIXME(#18653) -- we need to generalize nested type
// variables too.
let b_ty = match b_ty {
Some(t) => t, // ...already instantiated.
None => { // ...not yet instantiated: