Tyler Mandry 4160e5aaba
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](caa1f8d7b3/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
2019-11-01 11:20:17 -07:00
..
2019-09-25 15:50:04 +01:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00
2019-10-22 10:33:36 -03:00