From 9b32ff66676d46c930112c6fe86a4fc459e5291f Mon Sep 17 00:00:00 2001 From: Rajveer Date: Sun, 29 Oct 2023 14:00:26 +0530 Subject: [PATCH] Suggests compiler to update if on older version when using `unstable` feature Part of Issue #117318 --- compiler/rustc_hir_analysis/messages.ftl | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl index 8ab91bebcf672..065f141920d2e 100644 --- a/compiler/rustc_hir_analysis/messages.ftl +++ b/compiler/rustc_hir_analysis/messages.ftl @@ -207,6 +207,7 @@ hir_analysis_missing_trait_item_unstable = not all trait items implemented, miss .note = default implementation of `{$missing_item_name}` is unstable .some_note = use of unstable library feature '{$feature}': {$reason} .none_note = use of unstable library feature '{$feature}' + .note = if you are on an old compiler version you may need to update your compiler hir_analysis_missing_type_params = the type {$parameterCount ->