Skip to content

Commit

Permalink
remove an obsolete FIXME comment
Browse files Browse the repository at this point in the history
This comment made sense when it was introduced in fbef241. 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.
  • Loading branch information
zackmdavis committed Oct 16, 2017
1 parent a96ff3b commit e596c1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e596c1d

Please sign in to comment.