about summary refs log tree commit diff
path: root/compiler/rustc_infer/messages.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_infer/messages.ftl')
-rw-r--r--compiler/rustc_infer/messages.ftl5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_infer/messages.ftl b/compiler/rustc_infer/messages.ftl
index 15780898dc6..9d5933d5ab5 100644
--- a/compiler/rustc_infer/messages.ftl
+++ b/compiler/rustc_infer/messages.ftl
@@ -348,3 +348,8 @@ infer_prlf_known_limitation = this is a known limitation that will be removed in
 
 infer_opaque_captures_lifetime = hidden type for `{$opaque_ty}` captures lifetime that does not appear in bounds
     .label = opaque type defined here
+
+infer_fps_use_ref = consider using a reference
+infer_fps_remove_ref = consider removing the reference
+infer_fps_cast = consider casting to a fn pointer
+infer_fps_items_are_distinct = fn items are distinct from fn pointers