2021-07-14 09:57:54 +02:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2019-03-10 17:28:52 -07:00
|
|
|
--> $DIR/E0396-fixed.rs:5:28
|
2018-07-02 19:00:07 +02:00
|
|
|
|
|
|
|
|
LL | const VALUE: u8 = unsafe { *REG_ADDR };
|
2023-08-01 17:11:00 +02:00
|
|
|
| ^^^^^^^^^ memory access failed: 0x5f3759df[noalloc] is a dangling pointer (it has no provenance)
|
2018-07-02 19:00:07 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-02 19:00:07 +02:00
|
|
|
|
2021-07-14 09:57:54 +02:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|