diff options
| author | bors <bors@rust-lang.org> | 2018-02-04 03:33:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-02-04 03:33:44 +0000 |
| commit | 9af374abf9d41c533afa46e62e1047097c190445 (patch) | |
| tree | 467cb8fef08ee4c0a969d912f2c9e3511aeec6f6 /src/rustllvm/RustWrapper.cpp | |
| parent | 3d292b793ade0c1c9098fb32586033d79f6e9969 (diff) | |
| parent | 9c3dc7e8721c03e1e033895f327ff71f8fd400b4 (diff) | |
| download | rust-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
