Currently, running cargo +nightly clippy on my project, which uses chrono, fails with an error that I do not understand nor can I fix it:
Checking time v0.1.40
Checking chrono v0.4.2
error[E0277]: the trait bound `Tz2: offset::TimeZone` is not satisfied
--> C:\Users\d020383\.cargo\registry\src\github.com-1ecc6299db9ec823\chrono-0.4.2\src\date.rs:44:5
|
44 | offset: Tz::Offset,
| ^^^^^^^^^^^^^^^^^^ the trait `offset::TimeZone` is not implemented for `Tz2`
|
= help: consider adding a `where Tz2: offset::TimeZone` bound
error[E0277]: the trait bound `Tz2: offset::TimeZone` is not satisfied
--> C:\Users\d020383\.cargo\registry\src\github.com-1ecc6299db9ec823\chrono-0.4.2\src\datetime.rs:60:5
|
60 | offset: Tz::Offset,
| ^^^^^^^^^^^^^^^^^^ the trait `offset::TimeZone` is not implemented for `Tz2`
|
= help: consider adding a `where Tz2: offset::TimeZone` bound
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `chrono`.
Normal compilation (with stable) of course works.
Is the error above a known issue?