mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-31 00:53:48 +00:00
formatting
This commit is contained in:
parent
01948e2f45
commit
a01b13dede
@ -330,7 +330,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||
_ if left.layout.ty.is_any_ptr() => {
|
||||
// The RHS type must be the same *or an integer type* (for `Offset`).
|
||||
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: {:?} {:?} {:?}",
|
||||
left.layout.ty,
|
||||
bin_op,
|
||||
|
Loading…
Reference in New Issue
Block a user