implement valtrees as the type-system representation for constant values
This commit is contained in:
parent
edab34ab2a
commit
705d818bd5
116 changed files with 1606 additions and 1032 deletions
|
@ -991,7 +991,7 @@ fn insert_panic_block<'tcx>(
|
|||
cond: Operand::Constant(Box::new(Constant {
|
||||
span: body.span,
|
||||
user_ty: None,
|
||||
literal: ty::Const::from_bool(tcx, false).into(),
|
||||
literal: ConstantKind::from_bool(tcx, false),
|
||||
})),
|
||||
expected: true,
|
||||
msg: message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue