about summary refs log tree commit diff
path: root/src/test/codegen/enum-bounds-check.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-26/+0
2022-10-31Remove bounds check with enum castouz-a-2/+1
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-1/+2
Instead we generate a discriminant rvalue and cast the result of that.
2020-08-31Add codegen testsDániel Buga-0/+12
2018-12-25Remove licensesMark Rousskov-10/+0
2016-10-05emit an assume that cast-from enums are in rangeAriel Ben-Yehuda-0/+24
Fixes #36955.