Skip to content

Cargo check gives error where cargo build does not #3461

@ghost

Description

cargo check gives the following error in my code:

error[E0277]: the trait bound `rubato_server::db::DbConnection: rocket::request::FromRequest<'_, '_>` is not satisfied

cargo run and cargo build do not give this error (and run/compile correctly).

You can find the code (as minimal as I could get it) here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions