about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-03-09 21:51:22 +0100
committerRalf Jung <post@ralfj.de>2020-03-11 19:44:23 +0100
commit93436d8fd76d04f0d25ade71eec2ed480af3f404 (patch)
tree4df0876cd6277d61229506f4af7d2b2fb79fd33a /src/test/ui/error-codes
parent968142294385228fdc8af954dcd5be013404fba5 (diff)
downloadrust-93436d8fd76d04f0d25ade71eec2ed480af3f404.tar.gz
rust-93436d8fd76d04f0d25ade71eec2ed480af3f404.zip
make error message less confusing
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0396-fixed.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0396-fixed.stderr b/src/test/ui/error-codes/E0396-fixed.stderr
index 90c8e95e8eb..68505552562 100644
--- a/src/test/ui/error-codes/E0396-fixed.stderr
+++ b/src/test/ui/error-codes/E0396-fixed.stderr
@@ -4,7 +4,7 @@ error: any use of this value will cause an error
 LL | const VALUE: u8 = unsafe { *REG_ADDR };
    | ---------------------------^^^^^^^^^---
    |                            |
-   |                            unable to turn these bytes into a pointer
+   |                            unable to turn bytes into a pointer
    |
    = note: `#[deny(const_err)]` on by default