Skip to content

Better error message for "[E0601]: main function not found" #44798

Description

@djc

I'm seeing this in a crate with multiple binaries defined, so one important improvement would be to name the binary that is causing the problem. Once I've figured why this error is happening incorrectly in the particular crate that I'm struggling with now, I'll probably have more suggestions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions