diff options
| author | bors <bors@rust-lang.org> | 2018-10-01 22:32:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-01 22:32:26 +0000 |
| commit | 7cbcdae81879893f02f681d945402acedba89c7c (patch) | |
| tree | 4d85c02e43a07dbd3ba8a14c8a56ef018d24279a /src/libsyntax/parse/parser.rs | |
| parent | de3d640f59c4fa4a09faf2a8d6b0a812aaa6d6cb (diff) | |
| parent | d62aa3e085245621218759f8c8d56e29f600b74c (diff) | |
| download | rust-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/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
