about summary refs log tree commit diff
path: root/library/std/src/collections/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-02 22:03:38 +0000
committerbors <bors@rust-lang.org>2023-11-02 22:03:38 +0000
commita2f5f9691b6ce64c1703feaf9363710dfd7a56cf (patch)
tree17634197e57efea25b747bbfbba3f5ef21cc6292 /library/std/src/collections/mod.rs
parente8418e092a643ef87019192af7ed6bbd23cc4a63 (diff)
parentdda5e32ab0756642a5541678f5f42a3fe207eb6f (diff)
downloadrust-a2f5f9691b6ce64c1703feaf9363710dfd7a56cf.tar.gz
rust-a2f5f9691b6ce64c1703feaf9363710dfd7a56cf.zip
Auto merge of #117134 - lcnr:dropck_outlives-coroutine, r=compiler-errors
dropck_outlives check whether generator witness needs_drop

see https://rust-lang.zulipchat.com/#narrow/stream/326866-t-types.2Fnominated/topic/.23116242.3A.20Code.20no.20longer.20compiles.20after.20-Zdrop-tracking-mir.20.E2.80.A6/near/398311627 for an explanation.

Fixes #116242 (or well, the repro by `@jamuraa` in https://github.com/rust-lang/rust/issues/116242#issuecomment-1739802047). I did not add a regression test as it depends on other crates. We do have 1 test going from fail to pass, showing the intended behavior.

r? types
Diffstat (limited to 'library/std/src/collections/mod.rs')
0 files changed, 0 insertions, 0 deletions