about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/middle/typeck/infer/combine.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc/middle/typeck/infer/combine.rs b/src/librustc/middle/typeck/infer/combine.rs
index 0c6143ea733..2a44ef9de2b 100644
--- a/src/librustc/middle/typeck/infer/combine.rs
+++ b/src/librustc/middle/typeck/infer/combine.rs
@@ -651,7 +651,7 @@ impl<'f> CombineFields<'f> {
             // The original triple was `(a_ty, dir, b_vid)` -- now we have
             // resolved `b_vid` to `b_ty`, so apply `(a_ty, dir, b_ty)`:
             //
-            // FIXME: This code is non-ideal because all these subtype
+            // FIXME(#16847): This code is non-ideal because all these subtype
             // relations wind up attributed to the same spans. We need
             // to associate causes/spans with each of the relations in
             // the stack to get this right.
@@ -674,8 +674,8 @@ impl<'f> CombineFields<'f> {
     }
 
     fn generalize(&self, t: ty::t) -> ty::t {
-        // FIXME: This is non-ideal because we don't give a very descriptive
-        // origin for this region variable.
+        // FIXME(#16847): This is non-ideal because we don't give a
+        // very descriptive origin for this region variable.
 
         let infcx = self.infcx;
         let span = self.trace.origin.span();