Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cargo check gives error where cargo build does not #3461

Closed
ghost opened this issue Dec 26, 2016 · 2 comments
Closed

Cargo check gives error where cargo build does not #3461

ghost opened this issue Dec 26, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 26, 2016

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

@alexcrichton
Copy link
Member

I ran this locally with Cargo build from master and I think this was fixed with #3426, so this should get fixed as soon as the next nightly is released!

@alexcrichton
Copy link
Member

In any case, though, thanks for the report!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant