bors d44ea7c5c5 Auto merge of #10785 - Centri3:diverting_sub_expression, r=Jarcho
Fix `diverging_sub_expression` not checking body of block

Fixes #10776

This also adds a warning to the test `ui/never_loop.rs`, not sure if this is correct or not.

changelog: [`diverging_sub_expression`]: Fix false negatives with body of block
2023-06-10 00:16:43 +00:00
..
2023-06-07 18:34:34 -05:00
2023-05-24 11:06:56 -05:00
2023-05-24 11:06:56 -05:00
2023-06-06 14:58:54 -04:00
2023-06-09 15:32:42 -05:00
2023-06-09 15:32:42 -05:00
2023-05-31 17:30:23 -05:00
2023-05-31 17:30:23 -05:00
2023-03-08 14:40:38 +00:00
2023-03-08 14:40:38 +00:00
2023-06-07 22:57:15 +02:00
2023-06-06 22:56:57 +02:00
2023-06-06 22:56:57 +02:00
2023-04-27 17:18:12 +00:00
2023-06-06 22:56:57 +02:00
2023-05-21 15:07:53 +02:00
2023-06-02 14:46:27 +02:00
2023-06-02 14:46:27 +02:00
2023-06-06 22:56:57 +02:00
2023-05-23 00:35:00 -05:00
2023-06-02 13:26:12 -05:00
2023-06-02 13:26:12 -05:00
2023-06-06 22:56:57 +02:00
2023-05-22 23:00:28 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 20:02:45 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 23:00:28 -04:00
2023-05-22 20:02:45 -04:00
2023-06-06 22:56:57 +02:00
2023-06-06 22:56:57 +02:00
2023-06-06 22:56:57 +02:00