Skip to content

Commit 6e27c2f

Browse files
committed
Label FIXMEs with a bug number
1 parent 4c01251 commit 6e27c2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc/middle/typeck/infer/combine.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ impl<'f> CombineFields<'f> {
651651
// The original triple was `(a_ty, dir, b_vid)` -- now we have
652652
// resolved `b_vid` to `b_ty`, so apply `(a_ty, dir, b_ty)`:
653653
//
654-
// FIXME: This code is non-ideal because all these subtype
654+
// FIXME(#16847): This code is non-ideal because all these subtype
655655
// relations wind up attributed to the same spans. We need
656656
// to associate causes/spans with each of the relations in
657657
// the stack to get this right.
@@ -674,8 +674,8 @@ impl<'f> CombineFields<'f> {
674674
}
675675

676676
fn generalize(&self, t: ty::t) -> ty::t {
677-
// FIXME: This is non-ideal because we don't give a very descriptive
678-
// origin for this region variable.
677+
// FIXME(#16847): This is non-ideal because we don't give a
678+
// very descriptive origin for this region variable.
679679

680680
let infcx = self.infcx;
681681
let span = self.trace.origin.span();

0 commit comments

Comments
 (0)