needless_return
closes #8177 previously, `needless_return` suggests an empty block `{}` to replace void `return` on match arms, this PR improve the suggestion by suggesting a unit instead. changelog: `needless_return` suggests `()` instead of `{}` on match arms
cb7915b00c
27afd6ade4
a5d597637d
91496c2ac6
3ae8faff4d
e181011378