Commit 5055f70
[gopls-release-branch.0.18] gopls/internal/settings: fix misleading error messages
The deprecatedError helper constructs a specifically formatted error
string suggesting a replacement. Certain deprecations were misusing the
API, resulting in nonsensical error messages.
Change-Id: Ic72bf608b5b2e97baf75c192a49fd4181d7800b2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/651695
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
(cherry picked from commit 5299dcb)
Reviewed-on: https://go-review.googlesource.com/c/tools/+/651696
Auto-Submit: Robert Findley <[email protected]>1 parent 216b8f2 commit 5055f70
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
| 1119 | + | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
| 1127 | + | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| |||
0 commit comments