Skip to content

chore(deps): fix broken time in CI #535

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

Merged
merged 1 commit into from
Jul 26, 2024
Merged

chore(deps): fix broken time in CI #535

merged 1 commit into from
Jul 26, 2024

Conversation

miraclx
Copy link
Member

@miraclx miraclx commented Jul 26, 2024

Upgrading from rustc 1.79.0 -> rustc 1.80.0 leads to this issue:

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

Fixed in time-rs/time#671.

Quick cargo update -p time resolves this.

@petarjuki7 petarjuki7 merged commit 8f7b164 into master Jul 26, 2024
14 checks passed
@petarjuki7 petarjuki7 deleted the miraclx/fix-ci branch July 26, 2024 20:21
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 this pull request may close these issues.

2 participants