]> git.lizzy.rs Git - rust.git/commit
Auto merge of #7566 - dswij:manual-flatten-use, r=xFrednet
authorbors <bors@rust-lang.org>
Mon, 16 Aug 2021 08:35:06 +0000 (08:35 +0000)
committerbors <bors@rust-lang.org>
Mon, 16 Aug 2021 08:35:06 +0000 (08:35 +0000)
commit983e5b877ef82f84bd463d74ba6035d75c456d73
treed7027a3aa0da3053baea7cbfe2763529eb53165e
parent3f0c97740f10372a6dc8a085eba571822911afc7
parenta09bc1b6fe97839b23122ae7e386f75a1bf9c823
Auto merge of #7566 - dswij:manual-flatten-use, r=xFrednet

Check expr usage for  `manual_flatten`

Fixes #6784
Fixes #7538

`manual_flatten` should not trigger when `if let` match expression will be used.

changelog: [`manual_flatten`] checks for expr usage after `if let`