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-08 23:28:00 +0100
committerRalf Jung <post@ralfj.de>2020-03-11 19:44:23 +0100
commit9a95b010e6b46d113228b67ef237b42868e7be8d (patch)
tree1b2da2c283d6d7a706a924c5f0a3666d4d1c9659 /src/test/ui/error-codes
parentd02543a453f0381c92339301fc86bcc08c70abcd (diff)
generalize InvalidNullPointerUsage to InvalidIntPointerUsage
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 7222f87da24..90c8e95e8eb 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 };
    | ---------------------------^^^^^^^^^---
    |                            |
-   |                            a memory access tried to interpret some bytes as a pointer
+   |                            unable to turn these bytes into a pointer
    |
    = note: `#[deny(const_err)]` on by default