Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This test was ignored long ago in #20578 when the syntax for closures was changed. The current status is that a closure with an explicit `!` return type will trigger the `unreachable_code` lint which appears to be the original intent of the test (#16836). A closure without a return type won't trigger the lint since the `!` type isn't inferred (AFAIK). This restores the test to its original form.
- Loading branch information