Skip to content

Commit 9b32ff6

Browse files
committed
Suggests compiler to update if on older version when using unstable feature
Part of Issue #117318
1 parent 4911224 commit 9b32ff6

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
@@ -207,6 +207,7 @@ hir_analysis_missing_trait_item_unstable = not all trait items implemented, miss
207207
.note = default implementation of `{$missing_item_name}` is unstable
208208
.some_note = use of unstable library feature '{$feature}': {$reason}
209209
.none_note = use of unstable library feature '{$feature}'
210+
.note = if you are on an old compiler version you may need to update your compiler
210211
211212
hir_analysis_missing_type_params =
212213
the type {$parameterCount ->

0 commit comments

Comments
 (0)