check if closure as method arg has read access in [`collection_is_never_read`] fixes: #11783 --- changelog: fix [`collection_is_never_read`] misfires when use `retain` for iteration
10136170fe
useless_vec
37f4c1725d
9725c4a162
09ac14c901
a859e5cc1c
d9c24d1b1e
93f0a9a91f