Skip to content

cmd/compile, go/types, types2: rename 'imported and not used' error to 'imported but not used' #47089

@gazerro

Description

@gazerro

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.help wanted

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions