about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-01 22:32:26 +0000
committerbors <bors@rust-lang.org>2018-10-01 22:32:26 +0000
commit7cbcdae81879893f02f681d945402acedba89c7c (patch)
tree4d85c02e43a07dbd3ba8a14c8a56ef018d24279a /src/libstd
parentde3d640f59c4fa4a09faf2a8d6b0a812aaa6d6cb (diff)
parentd62aa3e085245621218759f8c8d56e29f600b74c (diff)
downloadrust-7cbcdae81879893f02f681d945402acedba89c7c.tar.gz
rust-7cbcdae81879893f02f681d945402acedba89c7c.zip
Auto merge of #54693 - RalfJung:ctfe-scalar-pair-undef, r=oli-obk
do not normalize all non-scalar constants to a ConstValue::ScalarPair

We still need `ConstValue::ScalarPair` for match handling (matching slices and strings), but that will never see anything `Undef`. For non-fat-ptr `ScalarPair`, just point to the allocation like larger data structures do.

Fixes https://github.com/rust-lang/rust/issues/54387

r? @eddyb
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions