bors 84ec2633de Auto merge of #113902 - Enselic:lint-recursive-drop, r=oli-obk
Make `unconditional_recursion` warning detect recursive drops

Closes #55388

Also closes #50049 unless we want to keep it for the second example which this PR does not solve, but I think it is better to track that work in #57965.

r? `@oli-obk` since you are the mentor for #55388

Unresolved questions:
- [x] There are two false positives that must be fixed before merging (see diff). I suspect the best way to solve them is to perform analysis after drop elaboration instead of before, as now, but I have not explored that any further yet. Could that be an option? **Answer:** Yes, that solved the problem.

`@rustbot` label +T-compiler +C-enhancement +A-lint
2023-08-07 13:39:28 +00:00
..
2023-06-06 11:50:24 +02:00
2023-04-21 02:45:48 -07:00
2023-04-27 17:18:11 +00:00
2023-08-04 16:09:13 +00:00
2023-08-04 16:09:13 +00:00
2023-02-23 13:57:13 +03:00
2023-03-29 09:56:28 +08:00
2023-03-29 09:56:28 +08:00
2023-03-29 09:56:28 +08:00
2023-07-23 09:58:31 +00:00
2023-07-23 09:58:31 +00:00
2023-07-23 09:58:31 +00:00
2023-07-23 09:58:31 +00:00
2023-07-23 09:58:31 +00:00
2023-06-11 18:27:26 +08:00