diff options
| author | Ralf Jung <post@ralfj.de> | 2020-03-09 21:51:22 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-03-11 19:44:23 +0100 |
| commit | 93436d8fd76d04f0d25ade71eec2ed480af3f404 (patch) | |
| tree | 4df0876cd6277d61229506f4af7d2b2fb79fd33a /src/librustc | |
| parent | 968142294385228fdc8af954dcd5be013404fba5 (diff) | |
| download | rust-93436d8fd76d04f0d25ade71eec2ed480af3f404.tar.gz rust-93436d8fd76d04f0d25ade71eec2ed480af3f404.zip | |
make error message less confusing
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/mir/interpret/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/interpret/error.rs b/src/librustc/mir/interpret/error.rs index 55112c23ef4..e4c3dfe85d4 100644 --- a/src/librustc/mir/interpret/error.rs +++ b/src/librustc/mir/interpret/error.rs @@ -485,8 +485,8 @@ impl fmt::Debug for UnsupportedOpInfo { initializer" ), - ReadPointerAsBytes => write!(f, "unable to turn this pointer into raw bytes",), - ReadBytesAsPointer => write!(f, "unable to turn these bytes into a pointer"), + ReadPointerAsBytes => write!(f, "unable to turn pointer into raw bytes",), + ReadBytesAsPointer => write!(f, "unable to turn bytes into a pointer"), } } } |
