]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJung
authorYuki Okushi <huyuumi.dev@gmail.com>
Fri, 20 Mar 2020 08:02:03 +0000 (17:02 +0900)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 08:02:03 +0000 (17:02 +0900)
commit3554f2d9411b0924fea8c78dfa82060b9500f261
tree2369d939a5f0d77432c3b87add3007e59c6e1c21
parent5d395176809c8f8a8399a8bec31bb2f6cdbf975a
parent74608c7f206171cb72c020a03800b2d9035a35fa
Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJung

Compute the correct layout for variants of uninhabited enums

r? @eddyb
cc @RalfJung

fixes #69191
cc #69763
src/librustc/ty/layout.rs
src/librustc_mir/interpret/operand.rs
src/librustc_mir/interpret/place.rs