bors 7e9da40078 Auto merge of #15700 - rmehri01:15694_iterator_demorgan, r=Veykril
feat: add assist for applying De Morgan's law to `Iterator::all` and `Iterator::any`

This PR adds an assist for transforming expressions of the form `!iter.any(|x| predicate(x))` into `iter.all(|x| !predicate(x))` and vice versa.

[IteratorDeMorgans.webm](https://github.com/rust-lang/rust-analyzer/assets/52933714/aad1a299-6620-432b-9106-aafd2a7fa9f5)

Closes #15694
2023-10-04 11:08:44 +00:00
..
2023-09-24 22:47:29 +02:00
2023-09-20 23:02:52 +09:00
2023-09-29 14:20:17 +02:00
2023-09-15 16:43:21 +09:00
2023-09-22 10:13:51 +02:00
2023-09-26 12:25:59 +02:00
2023-09-24 23:45:36 +03:30