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

chore: fix compile error in rust 1.81.0 #846

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leizhiyuan
Copy link
Contributor

Which Issue(s) This PR Fixes

after ❯ rustc --version
rustc 1.80.0

cargo build will failed

Fixes #issue_id

Brief Description

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/bystander/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.19/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`

How Did You Test This Change?

cargo build

@glcrazier
Copy link
Contributor

LGTM

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