about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-04-16 17:41:28 +0200
committerRalf Jung <post@ralfj.de>2020-04-16 17:41:28 +0200
commit18d0907dcc8ca5b71e6a70ff7eaed30c3e883d84 (patch)
tree4740f5dfbe37c2a5906c7bfd3f10be77e1ddb5f9 /src/test
parent351eefe93a96f98d37182701590493b6710175c3 (diff)
downloadrust-18d0907dcc8ca5b71e6a70ff7eaed30c3e883d84.tar.gz
rust-18d0907dcc8ca5b71e6a70ff7eaed30c3e883d84.zip
Miri error messages: avoid try terminology
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/consts/transmute-size-mismatch-before-typeck.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/transmute-size-mismatch-before-typeck.stderr b/src/test/ui/consts/transmute-size-mismatch-before-typeck.stderr
index 5a477714596..0e55d299c40 100644
--- a/src/test/ui/consts/transmute-size-mismatch-before-typeck.stderr
+++ b/src/test/ui/consts/transmute-size-mismatch-before-typeck.stderr
@@ -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