Miri error messages: avoid try terminology
This commit is contained in:
parent
351eefe93a
commit
18d0907dcc
2 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ error: any use of this value will cause an error
|
|||
LL | const ZST: &[u8] = unsafe { std::mem::transmute(1usize) };
|
||||
| ----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^---
|
||||
| |
|
||||
| tried to transmute from usize to &[u8], but their sizes differed
|
||||
| transmuting from usize to &[u8], which do not have the same size
|
||||
|
|
||||
= note: `#[deny(const_err)]` on by default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue