Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Commit 449b6ab has reworded, in Go 1.14, the "declared and not used" error message as "declared but not used". I propose to do the same for the "imported and not used" error message.
If an imported package is not used, instead of
imported and not used: "fmt"
the error message would be
imported but not used: "fmt"
The text was updated successfully, but these errors were encountered:
This is not an API change and does not need to be a proposal. Taking it out of the proposal process.
Sorry, something went wrong.
Change https://golang.org/cl/334989 mentions this issue: cmd/compile, go/types, types2: rename 'imported and not used' error to 'imported but not used'
cmd/compile, go/types, types2: rename 'imported and not used' error to 'imported but not used'
Successfully merging a pull request may close this issue.