]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16493 : kballard/rust/fix_drop_field_order, r=pnkfelix
authorbors <bors@rust-lang.org>
Fri, 15 Aug 2014 22:36:15 +0000 (22:36 +0000)
committerbors <bors@rust-lang.org>
Fri, 15 Aug 2014 22:36:15 +0000 (22:36 +0000)
When a struct implements Drop, its fields should still drop in
declaration order (just as they do when the struct does not implement
Drop).

Fixes #16492.

1  2 
src/librustc/middle/trans/glue.rs

Simple merge