make error message less confusing
This commit is contained in:
parent
9681422943
commit
93436d8fd7
5 changed files with 27 additions and 27 deletions
|
|
@ -4,7 +4,7 @@ error: any use of this value will cause an error
|
|||
LL | const VALUE: u8 = unsafe { *REG_ADDR };
|
||||
| ---------------------------^^^^^^^^^---
|
||||
| |
|
||||
| unable to turn these bytes into a pointer
|
||||
| unable to turn bytes into a pointer
|
||||
|
|
||||
= note: `#[deny(const_err)]` on by default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue