leptonic
leptonic copied to clipboard
Compile error for `time` crate
I just added leptonic v0.5.0 with cargo add leptonic
, and doing cargo leptos watch
gives me this error:
error[E0282]: type annotations needed for `Box<_>`
--> /home/misery/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
help: consider giving `items` an explicit type, where the placeholders `_` are specified
|
83 | let items: Box<_> = format_items
| ++++++++
Which seems to originate from the time
crate, one of leptonic's dependencies. How do I resolve this?