about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-08-29 07:46:43 -0400
committerNiko Matsakis <niko@alum.mit.edu>2014-08-29 10:21:54 -0400
commit6e27c2fd58e290a05653560199762268d50165ff (patch)
treec17447632179af688e1b54dd754fee8344ebc34c /src
parent4c012514169b1c26f47e4b2ec9abc72686fd04e1 (diff)
downloadrust-6e27c2fd58e290a05653560199762268d50165ff.tar.gz
rust-6e27c2fd58e290a05653560199762268d50165ff.zip
Label FIXMEs with a bug number
Diffstat (limited to 'src')
-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();