Skip to content

Commit 1174b17

Browse files
committed
Suggests compiler to update if on older version when using unstable feature
Part of Issue #117318
1 parent 1bd0430 commit 1174b17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: compiler/rustc_hir_analysis/messages.ftl

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ hir_analysis_missing_trait_item_unstable = not all trait items implemented, miss
151151
.note = default implementation of `{$missing_item_name}` is unstable
152152
.some_note = use of unstable library feature '{$feature}': {$reason}
153153
.none_note = use of unstable library feature '{$feature}'
154+
.note = if you are on an old compiler version you may need to update your compiler
154155
155156
hir_analysis_missing_type_params =
156157
the type {$parameterCount ->

0 commit comments

Comments
 (0)