formatting
This commit is contained in:
parent
01948e2f45
commit
a01b13dede
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||||
_ if left.layout.ty.is_any_ptr() => {
|
_ if left.layout.ty.is_any_ptr() => {
|
||||||
// The RHS type must be the same *or an integer type* (for `Offset`).
|
// The RHS type must be the same *or an integer type* (for `Offset`).
|
||||||
assert!(
|
assert!(
|
||||||
right.layout.ty.is_any_ptr()|| right.layout.ty.is_integral(),
|
right.layout.ty.is_any_ptr() || right.layout.ty.is_integral(),
|
||||||
"Unexpected types for BinOp: {:?} {:?} {:?}",
|
"Unexpected types for BinOp: {:?} {:?} {:?}",
|
||||||
left.layout.ty,
|
left.layout.ty,
|
||||||
bin_op,
|
bin_op,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue