1
Fork 0
rust/compiler/rustc_codegen_ssa/src
bors 5b9e886403 Auto merge of #73453 - erikdesjardins:tuplayout, r=eddyb
Ignore ZST offsets when deciding whether to use Scalar/ScalarPair layout

This is important because Scalar/ScalarPair layout previously would not be used if any ZST had nonzero offset.
For example, before this change, only `((), u128)` would be laid out like `u128`, not `(u128, ())`.

Fixes #63244
2020-09-25 14:42:20 +00:00
..
back use push(char) instead of push_str(&str) to add single chars to strings 2020-09-10 13:58:41 +02:00
coverageinfo mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
debuginfo use push(char) instead of push_str(&str) to add single chars to strings 2020-09-10 13:58:41 +02:00
mir Auto merge of #73453 - erikdesjardins:tuplayout, r=eddyb 2020-09-25 14:42:20 +00:00
traits Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb 2020-09-21 10:40:35 +02:00
base.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
common.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
meth.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs ty: remove obsolete printer 2020-08-30 18:59:07 +01:00