charon icon indicating copy to clipboard operation
charon copied to clipboard

Fix the bare-discriminant-read example

Open sonmarcho opened this issue 1 year ago • 1 comments

@Nadrieril

sonmarcho avatar Jul 01 '24 14:07 sonmarcho

This refers to this surprising change.

Nadrieril avatar Jul 01 '24 14:07 Nadrieril

More specifically, that changes indicates that the file no longer tests the codepath in charon that we wanted to test. We could use core::intrinsics::discriminant_value to guarantee we get the right MIR operation.

Nadrieril avatar Aug 28 '24 13:08 Nadrieril