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.
This commit is contained in:
Zack M. Davis 2017-10-11 22:34:20 -07:00
parent a96ff3b591
commit e596c1d0b8

View file

@ -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");