diff options
| author | bors <bors@rust-lang.org> | 2023-06-14 06:39:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-14 06:39:44 +0000 |
| commit | b9b453748d5ee0c0c5f53f52d749dff1a8cd38da (patch) | |
| tree | b63d8217fc3d2ab49e5f78f8d9bcfebd01775647 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 1b7fb403117ff52c51f172a1572fc3db636293c0 (diff) | |
| parent | d255e7a53fb62e77cdfa7ce1459fc5a06072e21a (diff) | |
| download | rust-b9b453748d5ee0c0c5f53f52d749dff1a8cd38da.tar.gz rust-b9b453748d5ee0c0c5f53f52d749dff1a8cd38da.zip | |
Auto merge of #10945 - Centri3:no_effect, r=llogiq
[`no_effect`]: Suggest adding `return` if applicable Closes #10941 Unfortunately doesn't catch anything complex as `no_effect` already wouldn't, but I'm fine with that (it catches `ControlFlow` at least :D) changelog: [`no_effect`]: Suggest adding `return` if statement has same type as function's return type and is the last statement in a block
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
