]> git.lizzy.rs Git - rust.git/commit
For size of `struct P<T>(Q<T>)`, don't double-count the prefix added by `Q`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 8 Sep 2016 17:18:07 +0000 (19:18 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 8 Sep 2016 17:18:07 +0000 (19:18 +0200)
commitdd570d64be6f95d601d5104d93207538b236f7cd
tree9905df4bfa62440e2a3cae33c0af1307f2d1b210
parent0b02ae02bbcae5e48da810fec24ae5d3d947115c
For size of `struct P<T>(Q<T>)`, don't double-count the prefix added by `Q`.

Fix #36278. Fix #36294.
src/librustc_trans/glue.rs
src/test/run-pass/issue-36278-prefix-nesting.rs [new file with mode: 0644]