rust/compiler
Matthias Krüger a38d668296
Rollup merge of #91786 - tmiasko:const-prop, r=oli-obk
Return an error when `eval_rvalue_with_identities` fails

Previously some code paths would fail to evaluate the rvalue, while
incorrectly indicating success with `Ok`. As a result the previous value
of lhs could have been incorrectly const propagated.

Fixes #91725.

r? `@oli-obk`
2021-12-14 20:47:30 +01:00
..
2021-12-09 00:01:29 +01:00
2021-12-09 00:01:29 +01:00
2021-12-11 11:08:46 +01:00
2021-12-11 11:08:46 +01:00
2021-12-12 12:35:00 +08:00
2021-12-12 12:35:00 +08:00
2021-12-09 00:01:29 +01:00