]> git.lizzy.rs Git - rust.git/commit
Fix -Z print-type-sizes and tests.
authorAustin Hicks <camlorn@camlorn.net>
Sat, 26 Nov 2016 19:37:15 +0000 (14:37 -0500)
committerAustin Hicks <camlorn@camlorn.net>
Wed, 14 Dec 2016 17:28:25 +0000 (12:28 -0500)
commitcfe1a776ee77697b5947849a71b411978eb23a28
tree41e9620fa08a655756832de27f8f2ee5211c17a4
parent025456e8a4e418813edf77bd9c1e69213276d447
Fix -Z print-type-sizes and tests.

This was done by sorting the fields by increasing offset; as a consequence, the order of -Z print-type-sizes matches memory order not source order.
src/librustc/session/code_stats.rs
src/test/ui/print_type_sizes/nullable.stdout
src/test/ui/print_type_sizes/packed.stdout
src/test/ui/print_type_sizes/padding.stdout