Skip to content

Bad compiler error messages while using diesel #83383

Open
@weiznich

Description

@weiznich

Following this request on twitter I've put together a "best of" of some compiler errors that can occur if something went wrong while using diesel. The test cases are mostly taken out of our issue tracker, containing things our users have encountered in the past. So cc @estebank

See this repository for the code examples with some explanation what's going wrong there and what would be more helpful in my opinion. Feel free to contact me for any diesel related question about those error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-trait-systemArea: Trait systemD-confusingDiagnostics: Confusing error or lint that should be reworked.D-newcomer-roadblockDiagnostics: Confusing error or lint; hard to understand for new users.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions