about summary refs log tree commit diff
path: root/src/test/ui/consts/const_discriminant.rs
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-42/+0
2022-09-27Stabilize bench_black_boxUrgau-1/+0
2021-11-14expand commentRalf Jung-0/+1
2021-11-14fix getting the discriminant of a zero-variant enumRalf Jung-0/+6
2021-04-25move core::hint::black_box under its own feature gateRalf Jung-1/+1
2020-09-07Separate feature flagsRalf Jung-1/+2
2020-09-07use black_box instead of local optimziation barriers in const tests where pos...Ralf Jung-11/+6
2020-03-10explain the use of a custom identity functionBastian Kauschke-0/+3
2020-03-09discrimant test must not be inlined!Bastian Kauschke-0/+1
2020-03-08allow dead code in discriminant testBastian Kauschke-0/+1
2020-03-08test discriminant of enum with uninhabited variantBastian Kauschke-0/+11
2020-03-08prevent potential promotion in const_discriminantBastian Kauschke-3/+5
2020-03-08constify `mem::discriminant`Bastian Kauschke-0/+22