about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/messages.ftl
diff options
context:
space:
mode:
authorbendn <bend.n@outlook.com>2025-03-31 15:50:56 +0700
committerbendn <bend.n@outlook.com>2025-04-24 13:14:36 +0700
commitc8c074288a277df21a52aded322dfa25bc283f64 (patch)
tree272448f60986d3f18b5269162658319dcaf70bc8 /compiler/rustc_mir_transform/messages.ftl
parentc02a4f0852e6665cf3df3867982021383f5615df (diff)
downloadrust-c8c074288a277df21a52aded322dfa25bc283f64.tar.gz
rust-c8c074288a277df21a52aded322dfa25bc283f64.zip
Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etc
Diffstat (limited to 'compiler/rustc_mir_transform/messages.ftl')
-rw-r--r--compiler/rustc_mir_transform/messages.ftl1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/messages.ftl b/compiler/rustc_mir_transform/messages.ftl
index 5628f4c9381..a1264471a2d 100644
--- a/compiler/rustc_mir_transform/messages.ftl
+++ b/compiler/rustc_mir_transform/messages.ftl
@@ -84,3 +84,4 @@ mir_transform_undefined_transmute = pointers cannot be transmuted to integers du
     .help = for more information, see https://doc.rust-lang.org/std/mem/fn.transmute.html
 
 mir_transform_unknown_pass_name = MIR pass `{$name}` is unknown and will be ignored
+mir_transform_unnecessary_transmute = unnecessary transmute