diff options
| author | bors <bors@rust-lang.org> | 2023-11-30 15:17:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-30 15:17:29 +0000 |
| commit | 646b28f5f67e6e862b4e0ce8364de1733da815ff (patch) | |
| tree | ee86642430393edeca8c55ab79e9ceb6074157aa /compiler/rustc_codegen_llvm/src | |
| parent | 665fd5219a395ece3868cddcfc9cf1283a5eb40f (diff) | |
| parent | e3c73f17ecda066052409c0023c38eb7ffb6990a (diff) | |
| download | rust-646b28f5f67e6e862b4e0ce8364de1733da815ff.tar.gz rust-646b28f5f67e6e862b4e0ce8364de1733da815ff.zip | |
Auto merge of #11896 - samueltardieu:issue-11893, r=Alexendoo
`option_if_let_else`: do not trigger on expressions returning `()` Fix #11893 Trigerring on expressions returning `()` uses the arguments of the `map_or_else()` rewrite only for their side effects. This does lead to code which is harder to read than the original. changelog: [`option_if_let_else`]: do not trigger on unit expressions
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
