Open
Description
I've had this happen 3 times now today. It's fixed by cargo clean
, so is not a critical issue, but still is a moderately interesting incremental compilation bug. The change was moving the trait query_dsl::OffsetDsl
to query_dsl::methods::OffsetDsl
. The code in question that is failing was importing OffsetDsl::offset
from diesel::prelude
instead, the x.offset
is now resolving to query_dsl::QueryDsl::offset
, which simply calls OffsetDsl::offset
, and is exported from prelude.
Anyway, this is the error
and the patch that caused it is https://gist.github.com/sgrif/8bb17b2a143d482e060fc3fd08705067
rustc --version
: rustc 1.24.0-nightly (73bca2b 2017-11-28)