about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-04 03:33:44 +0000
committerbors <bors@rust-lang.org>2018-02-04 03:33:44 +0000
commit9af374abf9d41c533afa46e62e1047097c190445 (patch)
tree467cb8fef08ee4c0a969d912f2c9e3511aeec6f6 /src/rustllvm/RustWrapper.cpp
parent3d292b793ade0c1c9098fb32586033d79f6e9969 (diff)
parent9c3dc7e8721c03e1e033895f327ff71f8fd400b4 (diff)
downloadrust-9af374abf9d41c533afa46e62e1047097c190445.tar.gz
rust-9af374abf9d41c533afa46e62e1047097c190445.zip
Auto merge of #47915 - eddyb:layout-of, r=nikomatsakis
rustc: prefer ParamEnvAnd and LayoutCx over tuples for LayoutOf.

This PR provides `tcx.layout_of(param_env.and(ty))` as the idiomatic replacement for the existing `(tcx, param_env).layout_of(ty)` and removes fragile (coherence-wise) layout-related tuple impls.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions