about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/messages.ftl
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-28 18:08:21 +0000
committerMichael Goulet <michael@errs.io>2023-06-28 18:08:21 +0000
commit8745ae21f9acd17fb3e3d1f9556280e652e996a0 (patch)
tree461649ceb047444800e46aab88af307c1d8f2f09 /compiler/rustc_trait_selection/messages.ftl
parentd1ab6c2ae3fa0726d5f8b5a92b66faa09c72b893 (diff)
downloadrust-8745ae21f9acd17fb3e3d1f9556280e652e996a0.tar.gz
rust-8745ae21f9acd17fb3e3d1f9556280e652e996a0.zip
convert to fluent, make plurals work
Diffstat (limited to 'compiler/rustc_trait_selection/messages.ftl')
-rw-r--r--compiler/rustc_trait_selection/messages.ftl10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/messages.ftl b/compiler/rustc_trait_selection/messages.ftl
index 217ba71b631..f57f1bad15d 100644
--- a/compiler/rustc_trait_selection/messages.ftl
+++ b/compiler/rustc_trait_selection/messages.ftl
@@ -1,3 +1,13 @@
+trait_selection_adjust_signature_borrow = consider adjusting the signature so it borrows its {$len ->
+        [one] argument
+        *[other] arguments
+    }
+
+trait_selection_adjust_signature_remove_borrow = consider adjusting the signature so it does not borrow its {$len ->
+        [one] argument
+        *[other] arguments
+    }
+
 trait_selection_dump_vtable_entries = vtable entries for `{$trait_ref}`: {$entries}
 
 trait_selection_empty_on_clause_in_rustc_on_unimplemented = empty `on`-clause in `#[rustc_on_unimplemented]`