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 | 526fb6b7eaf374f9f1bc62afbe0250791f1a5253 (patch) | |
| tree | 86085178f974e3af58fd1ecf4e3daf69bf358e2f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 3c1b3ece99a855cda144ad601facbf4d76b2f2df (diff) | |
| parent | fc72e910fbd72b7b30a6cb0b6390e0b7b8d907d8 (diff) | |
| download | rust-526fb6b7eaf374f9f1bc62afbe0250791f1a5253.tar.gz rust-526fb6b7eaf374f9f1bc62afbe0250791f1a5253.zip | |
Auto merge of #8185 - dswij:8177, r=llogiq
`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
