about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-01 11:20:17 -0700
committerGitHub <noreply@github.com>2019-11-01 11:20:17 -0700
commit4160e5aababbdfbf9743ab37aa8e954b888e9425 (patch)
tree17dad49fa9ce2ed35a5bd18a5d88787cb866c36a /src/test/debuginfo/enum-thinlto.rs
parentb7416348c8155e9cc36dfdce349328ad8bdc402d (diff)
parent627e3ef739dbead85aa04f32dc2d2a2ab7dd4637 (diff)
downloadrust-4160e5aababbdfbf9743ab37aa8e954b888e9425.tar.gz
rust-4160e5aababbdfbf9743ab37aa8e954b888e9425.zip
Rollup merge of #65946 - ecstatic-morse:refactor-promotion2, r=eddyb
Make `promote_consts` emit the errors when required promotion fails

A very minimal version of #65942.

This will cause a generic "argument X is required to be a constant" message for `simd_shuffle` LLVM intrinsics instead of the [custom one](https://github.com/rust-lang/rust/blob/caa1f8d7b3b021c86a70ff62d23a07d97acff4c4/src/librustc_mir/transform/qualify_consts.rs#L1616). It may be possible to remove this special-casing altogether after rust-lang/stdarch#825.

r? @eddyb
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions