make error message less confusing

This commit is contained in:
Ralf Jung 2020-03-09 21:51:22 +01:00
parent 9681422943
commit 93436d8fd7
5 changed files with 27 additions and 27 deletions

View file

@ -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