about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2017-10-11 22:34:20 -0700
committerZack M. Davis <code@zackmdavis.net>2017-10-16 11:19:18 -0700
commite596c1d0b803dbdcc91ed57372f26f42ae6d32e8 (patch)
tree8d856e3f0780ae322d2c2640d11bf75ca8767334
parenta96ff3b591d3bcc0ae906cd28053046e2efd7bde (diff)
remove an obsolete FIXME comment
This comment made sense when it was introduced in fbef2417. It does not
make sense in its current context, where the referred-to guard is no
longer present.

This being an item under the fabulous metabug #44366.
-rw-r--r--src/librustc_lint/builtin.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_lint/builtin.rs b/src/librustc_lint/builtin.rs
index 7f331418d42..06bc716f024 100644
--- a/src/librustc_lint/builtin.rs
+++ b/src/librustc_lint/builtin.rs
@@ -894,7 +894,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnconditionalRecursion {
             let mut db = cx.struct_span_lint(UNCONDITIONAL_RECURSION,
                                              sp,
                                              "function cannot return without recurring");
-            // FIXME #19668: these could be span_lint_note's instead of this manual guard.
             // offer some help to the programmer.
             for call in &self_call_spans {
                 db.span_note(*call, "recursive call site");