internal/lsp/analysis: update fillreturns title

Update the title of the diagnostic to account for the fact that
fillreturns can also use in-scope variables to fill in values.

Change-Id: Ib506af76a4187ef611e96b2602f301432fcbccf0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/253278
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Rebecca Stambler 2020-09-05 23:07:02 -04:00
parent 9786fa3777
commit 242af255f0
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ outer:
End: typeErrEndPos,
Message: typeErr.Msg,
SuggestedFixes: []analysis.SuggestedFix{{
Message: "Fill with empty values",
Message: "Fill in return values",
TextEdits: []analysis.TextEdit{{
Pos: ret.Pos(),
End: ret.End(),