error[E0432]: unresolved import chrono::LocalResult
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-tz-0.8.6/src/timezone_impl.rs:318:21
|
318 | use chrono::LocalResult::*;
| ^^^^^^^^^^^ LocalResult is a type alias, not a module
Which then creates:
error[E0531]: cannot find tuple struct or tuple variant Single in this scope
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-tz-0.8.6/src/timezone_impl.rs:320:23
320
(result @ Single(), ) => result,
^^^^^^ not found in this scope
help: consider importing this tuple variant
|
1 + use chrono::MappedLocalTime::Single;
Hello 👋
Chrono-tz doesn't compile after an update of chrono from version
0.4.35
to0.4.36
. Could you please yank the release?Thanks 🙏
This block of code doesn't compile anymore
error[E0432]: unresolved import
chrono::LocalResult
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-tz-0.8.6/src/timezone_impl.rs:318:21 | 318 | use chrono::LocalResult::*; | ^^^^^^^^^^^LocalResult
is a type alias, not a moduleSingle
in this scope --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-tz-0.8.6/src/timezone_impl.rs:320:23help: consider importing this tuple variant | 1 + use chrono::MappedLocalTime::Single;