]> git.lizzy.rs Git - rust.git/commitdiff
add FIXME to #18653
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 3 Apr 2017 19:59:34 +0000 (15:59 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 12 Apr 2017 00:32:47 +0000 (20:32 -0400)
src/librustc/infer/combine.rs

index 825f279e78e4b0968fd0b865d247504edcbac5bd..a23589e7f3f792b4adfadb493578e683e87b6f06 100644 (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: