Skip to content

Commit c54f061

Browse files
committed
Don't put integers into backticks during formatting
1 parent 5a02105 commit c54f061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_const_eval/src/interpret/intrinsics.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
457457
assert_eq!(input_len, dest_len, "Return vector length must match input length");
458458
assert!(
459459
index < dest_len,
460-
"Index `{}` must be in bounds of vector with length `{}`",
460+
"Index `{}` must be in bounds of vector with length {}",
461461
index,
462462
dest_len
463463
);
@@ -477,7 +477,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
477477
let (input, input_len) = self.operand_to_simd(&args[0])?;
478478
assert!(
479479
index < input_len,
480-
"index `{}` must be in bounds of vector with length `{}`",
480+
"index `{}` must be in bounds of vector with length {}",
481481
index,
482482
input_len
483483
);

0 commit comments

Comments
 (0)