We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 906db02 commit 9e4e805Copy full SHA for 9e4e805
src/value_and_place.rs
@@ -317,14 +317,6 @@ impl<'tcx> CValue<'tcx> {
317
318
let clif_ty = fx.clif_type(layout.ty).unwrap();
319
320
- if let ty::Bool = layout.ty.kind() {
321
- assert!(
322
- const_val == ty::ScalarInt::FALSE || const_val == ty::ScalarInt::TRUE,
323
- "Invalid bool 0x{:032X}",
324
- const_val
325
- );
326
- }
327
-
328
let val = match layout.ty.kind() {
329
ty::Uint(UintTy::U128) | ty::Int(IntTy::I128) => {
330
let const_val = const_val.assert_bits(layout.size);
0 commit comments