diff options
| author | bors <bors@rust-lang.org> | 2022-06-30 04:04:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-30 04:04:08 +0000 |
| commit | 88591ba2399f29e7b9490eada7b1bbc0fbb22878 (patch) | |
| tree | cd96a13da066843018242b6694018a7a91495209 /compiler/rustc_codegen_llvm/src | |
| parent | 70f1d0d8fd702d8d761ce5c15df5b238ab59c250 (diff) | |
| parent | adbc8499d392f61cbc563895fe50a85ed8c63892 (diff) | |
| download | rust-88591ba2399f29e7b9490eada7b1bbc0fbb22878.tar.gz rust-88591ba2399f29e7b9490eada7b1bbc0fbb22878.zip | |
Auto merge of #8666 - Jarcho:while_let_loop_7913, r=dswij
Don't lint `while_let_loop` when significant drop order would change fixes #7226 fixes #7913 fixes #5717 For #5717 it may not stay fully fixed. This is only completely fixed right now due to all the allowed drop impls have `#[may_dangle]` on their drop impls. This may get changed in the future based on how significant drops are determined, but the example listed with `RefCell` shouldn't break. changelog: Don't lint `while_let_loop` when the order of significant drops would change
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
