diff options
| author | bors <bors@rust-lang.org> | 2023-08-07 13:39:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-07 13:39:28 +0000 |
| commit | 84ec2633defc5c459c682ac0c45efb41715249df (patch) | |
| tree | b9278f7a43740dde5eb72e2058badfe1fd936c13 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 139b49b99523c43219b39079aa8fb2e084c52a1c (diff) | |
| parent | b4b33df983b4badac5c2578756cd42a76236be8d (diff) | |
| download | rust-84ec2633defc5c459c682ac0c45efb41715249df.tar.gz rust-84ec2633defc5c459c682ac0c45efb41715249df.zip | |
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
