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

Upgrade time crate to 0.3.36 #311

Closed
malm0d opened this issue May 31, 2024 · 0 comments · Fixed by #310
Closed

Upgrade time crate to 0.3.36 #311

malm0d opened this issue May 31, 2024 · 0 comments · Fixed by #310

Comments

@malm0d
Copy link
Contributor

malm0d commented May 31, 2024

The current time crate (0.3.34) causes the following error when make lint is executed:

error[E0282]: type annotations needed for `Box<_>`
  --> /home/runner/.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
   |              ++++++++

This seems to be a known breakage and as per rust/pull/124736, the fix is to upgrade time from 0.3.34 to 0.3.36.

Open PR: #310

@Vid201 Vid201 linked a pull request May 31, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant