use subdiagnostic for sugesting add let
This commit is contained in:
parent
667b15bb0e
commit
9e7d2287cd
5 changed files with 21 additions and 7 deletions
|
@ -171,3 +171,4 @@ infer_msl_introduces_static = introduces a `'static` lifetime requirement
|
|||
infer_msl_unmet_req = because this has an unmet lifetime requirement
|
||||
infer_msl_trait_note = this has an implicit `'static` lifetime requirement
|
||||
infer_msl_trait_sugg = consider relaxing the implicit `'static` requirement
|
||||
infer_suggest_add_let_for_letchains = consider adding `let`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue