]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #37056 - Mark-Simulacrum:fix-bool-comparison, r=bluss
authorAlex Crichton <alex@alexcrichton.com>
Wed, 12 Oct 2016 17:15:27 +0000 (10:15 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 12 Oct 2016 21:07:55 +0000 (14:07 -0700)
commita0ad6616fc2244eea66c6adadd35f899b170505f
tree34343b702c3386106076d47fdba36068221d1875
parent5ac7f4fc312ef757e75bb1f212ba344a68e2ba91
parentf9c73adce80e49cea2620a54a34545d5569a9d2a
Rollup merge of #37056 - Mark-Simulacrum:fix-bool-comparison, r=bluss

Add comparison operators to boolean const eval.

I think it might be worth adding tests here, but since I don't know how or where to do that, I have not done so yet. Willing to do so if asked and given an explanation as to how.

Fixes #37047.