summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-03-09 13:53:20 -0800
committerNick Fitzgerald <fitzgen@gmail.com>2017-03-09 13:56:53 -0800
commitb662443c1bf0c6c0103b91aec30e6b95ea5c4ff4 (patch)
treebdfbbbf4bec63ade4956837fbf09ed01a5667374 /src/codegen/helpers.rs
parent72ab471539fcf2809f82e2dd980c59352a67eba4 (diff)
Generate better opaque blobs in the face of non-type parameters
When instantiating templates whose definitions have non-type generic parameters, prefer the layout of the instantiation type to the garbage we get from the definition's layout. In general, an instantiation's layout will always be a better choice than the definition's layout, regardless of non-type parameters. Fixes #569
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions