about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2017-08-03 12:37:24 +0200
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2017-08-03 12:37:24 +0200
commit163821b500ed953479d2b791f1f7f86bbe2f1183 (patch)
treeb5de9d3c71c2fe4937183c92780aa282eb21547b
parent40677a5c47dca8bbf6efda0433c5451b7b429f91 (diff)
downloadrust-163821b500ed953479d2b791f1f7f86bbe2f1183.tar.gz
rust-163821b500ed953479d2b791f1f7f86bbe2f1183.zip
Remove accidental text paste
-rw-r--r--src/librustc_mir/interpret/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/error.rs b/src/librustc_mir/interpret/error.rs
index 98622303f8a..d487e23aa4e 100644
--- a/src/librustc_mir/interpret/error.rs
+++ b/src/librustc_mir/interpret/error.rs
@@ -228,7 +228,7 @@ impl<'tcx> Error for EvalError<'tcx> {
             TypeNotPrimitive(_) =>
                 "expected primitive type, got nonprimitive",
             ReallocatedWrongMemoryKind(_, _) =>
-                "tried to EvalErrorKindreallocate memory from one kind to another",
+                "tried to reallocate memory from one kind to another",
             DeallocatedWrongMemoryKind(_, _) =>
                 "tried to deallocate memory of the wrong kind",
             ReallocateNonBasePtr =>