about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-04-13 17:11:53 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-01 22:28:54 +0200
commitedb8d1c0d4b2e32088f3c6a77437b091b10ddf7e (patch)
tree004215cfb42495e6a8e8fea5ff93889140f90d50 /src/test/incremental/thinlto
parent4d7bbdd82682b0c4891538b241f7fe584f148710 (diff)
downloadrust-edb8d1c0d4b2e32088f3c6a77437b091b10ddf7e.tar.gz
rust-edb8d1c0d4b2e32088f3c6a77437b091b10ddf7e.zip
Conservatively assume dropping a generator touches its upvars, via locals' dtors.
This is meant to address rust-lang/rust#49918.

Review feedback: put back comment justifying skipping interior traversal.

Review feedback: dropck generators like trait objects: all their upvars must
outlive the generator itself, so just create a DtorckConstraint saying so.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions