rust/src/librustc_trans
bors 6d718f236d Auto merge of #25595 - dotdash:issue25549, r=eddyb
When taking the address of an unsized field we generate a rvalue datum
for the field and then convert it to an lvalue datum. At that point,
cleanup is scheduled for the field, leading to multiple drop calls.

The problem is that we generate an rvalue datum for the field, since the
pointer does not own the data and there's already cleanup scheduled
elsewhere by the true owner. Instead, an lvalue datum must be created.

Thanks to @eddyb for identifying the underlying cause and suggesting the
correct fix.

Fixes #25549.
2015-05-20 07:38:45 +00:00
..
back Auto merge of #25350 - alexcrichton:msvc, r=brson 2015-05-20 00:31:55 +00:00
save comments 2015-05-15 19:06:56 +12:00
trans Auto merge of #25595 - dotdash:issue25549, r=eddyb 2015-05-20 07:38:45 +00:00
lib.rs Auto merge of #25350 - alexcrichton:msvc, r=brson 2015-05-20 00:31:55 +00:00
README.txt

See the README.md in ../librustc.