Skip to content

Commit 7be27ec

Browse files
committed
forgot to insert a {} into the format string
1 parent ca703f6 commit 7be27ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub fn binary_op<'tcx>(bin_op: mir::BinOp, left: PrimVal, right: PrimVal) -> Eva
4949
BitOr => $v($l | $r),
5050

5151
// these have already been handled
52-
Shl | Shr => bug!("`bin_op` operation should already have been handled", bin_op.to_hir_binop().as_str()),
52+
Shl | Shr => bug!("`{}` operation should already have been handled", bin_op.to_hir_binop().as_str()),
5353

5454
Eq => Bool($l == $r),
5555
Ne => Bool($l != $r),

0 commit comments

Comments
 (0)