]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0396-fixed.stderr
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / error-codes / E0396-fixed.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/E0396-fixed.rs:5:28
3    |
4 LL | const VALUE: u8 = unsafe { *REG_ADDR };
5    |                            ^^^^^^^^^ dereferencing pointer failed: 0x5f3759df[noalloc] is a dangling pointer (it has no provenance)
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.