]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0396-fixed.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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`.