diff options
| author | Ralf Jung <post@ralfj.de> | 2020-03-08 23:28:00 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-03-11 19:44:23 +0100 |
| commit | 9a95b010e6b46d113228b67ef237b42868e7be8d (patch) | |
| tree | 1b2da2c283d6d7a706a924c5f0a3666d4d1c9659 /src/test/ui/error-codes | |
| parent | d02543a453f0381c92339301fc86bcc08c70abcd (diff) | |
generalize InvalidNullPointerUsage to InvalidIntPointerUsage
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0396-fixed.stderr | 2 |
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 |
