Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Build error on Rust 1.8.0 #70

Open
wu7zh opened this issue Jul 26, 2024 · 1 comment
Open

Build error on Rust 1.8.0 #70

wu7zh opened this issue Jul 26, 2024 · 1 comment

Comments

@wu7zh
Copy link

wu7zh commented Jul 26, 2024

I'm getting this error when building:

error[E0282]:` type annotations needed for `Box<_>` --> /home/jens/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/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 | ++++++++

It is probably related to this: rust-lang/rust#128181

So the time crate version needs updating

@wu7zh
Copy link
Author

wu7zh commented Jul 26, 2024

changing the version of time to 0.3.36 in the lockfile seems to work

Edit: Can confirm that this is working fully without problems. I'm not too versed in Rust tho and don't know the implications so please someone else look into this and create a PR, thanks!

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

No branches or pull requests

1 participant