1
Fork 0

Make the error message better

This commit is contained in:
Michael Goulet 2024-01-18 17:20:39 +00:00
parent 16cbdd0321
commit e65abc0ea5
5 changed files with 72 additions and 13 deletions

View file

@ -206,6 +206,9 @@ hir_analysis_manual_implementation =
.label = manual implementations of `{$trait_name}` are experimental
.help = add `#![feature(unboxed_closures)]` to the crate attributes to enable
hir_analysis_method_should_return_future = method should be `async` or return a future, but it is synchronous
.note = this method is `async` so it expects a future to be returned
hir_analysis_missing_one_of_trait_item = not all trait items implemented, missing one of: `{$missing_items_msg}`
.label = missing one of `{$missing_items_msg}` in implementation
.note = required because of this annotation