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

Fix compiler error when building with rustc 1.80 #285

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

sandydoo
Copy link
Contributor

@sandydoo sandydoo commented Aug 16, 2024

Just a cargo update. This bumps time to fix a compiler error when building with newer versions of rust (1.80+)

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

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

Fixes #290.

@sandydoo sandydoo changed the title chore(deps): update dependencies chore(deps): fix compiler error in new versions of rust Aug 17, 2024
@sandydoo sandydoo changed the title chore(deps): fix compiler error in new versions of rust chore(deps): fix compiler error when building with rustc 1.80 Aug 18, 2024
@sandydoo sandydoo changed the title chore(deps): fix compiler error when building with rustc 1.80 Fix compiler error when building with rustc 1.80 Sep 20, 2024
@sandydoo
Copy link
Contributor Author

@zurawiki, any chance of merging this and cutting a new release?

@zurawiki
Copy link
Owner

Thanks for pointing this out, will release a new version shortly

@tshu-w
Copy link

tshu-w commented Oct 13, 2024

Is the github-actions bot of zurawiki/homebrew-brews failed? The version is still 0.5.14.

@zurawiki
Copy link
Owner

Is the github-actions bot of zurawiki/homebrew-brews failed? The version is still 0.5.14.

0.5.17 should be fixed now

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.

bug: brew install failed
3 participants