diff options
| author | est31 <MTest31@outlook.com> | 2023-03-03 08:38:07 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-03 08:39:36 +0100 |
| commit | ef658907a5e88563e4b67a07ba1639c7bf58756f (patch) | |
| tree | 1ea20512a9252707c26649e41617253f41fb811d /compiler/rustc_const_eval/src/interpret | |
| parent | 13471d3b2046cce78181dde6cfc146c09f55e29e (diff) | |
| download | rust-ef658907a5e88563e4b67a07ba1639c7bf58756f.tar.gz rust-ef658907a5e88563e4b67a07ba1639c7bf58756f.zip | |
Match end user facing unmatched backticks in compiler/
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/intrinsics.rs b/compiler/rustc_const_eval/src/interpret/intrinsics.rs index c65d677e8ea..a2b8647a965 100644 --- a/compiler/rustc_const_eval/src/interpret/intrinsics.rs +++ b/compiler/rustc_const_eval/src/interpret/intrinsics.rs @@ -457,7 +457,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { assert_eq!(input_len, dest_len, "Return vector length must match input length"); assert!( index < dest_len, - "Index `{}` must be in bounds of vector with length {}`", + "Index `{}` must be in bounds of vector with length `{}`", index, dest_len ); |
