Miri error messages: avoid try terminology

This commit is contained in:
Ralf Jung 2020-04-16 17:41:28 +02:00
parent 351eefe93a
commit 18d0907dcc
2 changed files with 5 additions and 5 deletions

View file

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