diff options
| author | bors <bors@rust-lang.org> | 2021-12-28 11:15:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-28 11:15:53 +0000 |
| commit | fc72e910fbd72b7b30a6cb0b6390e0b7b8d907d8 (patch) | |
| tree | 86085178f974e3af58fd1ecf4e3daf69bf358e2f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 3354876876cfa49154481d26ff2dc9497afe29b7 (diff) | |
| download | rust-fc72e910fbd72b7b30a6cb0b6390e0b7b8d907d8.tar.gz rust-fc72e910fbd72b7b30a6cb0b6390e0b7b8d907d8.zip | |
`needless_return` suggest return unit type on void returns
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
