]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0396-fixed.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / error-codes / E0396-fixed.stderr
index 4b7f1fa82c26c23987e7402685663e9628b698c8..685055525627ee7a8436e0d2301cb988f59fc8ae 100644 (file)
@@ -4,9 +4,9 @@ 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 bytes into a pointer
    |
-   = note: #[deny(const_err)] on by default
+   = note: `#[deny(const_err)]` on by default
 
 error: aborting due to previous error