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

compile error: time-0.3.29/src/format_description/parse/mod.rs:83:9 "type must be known at this point" #685

Closed
phial3 opened this issue Jun 6, 2024 · 2 comments
Labels
C-duplicate Category: exact duplicate

Comments

@phial3
Copy link

phial3 commented Jun 6, 2024

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/admin/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/time-0.3.29/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
   |              ++++++++

   Compiling slab v0.4.9
   Compiling ppv-lite86 v0.2.17
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

what should i do?

@jhpratt
Copy link
Member

jhpratt commented Jun 6, 2024

See #681. Running cargo update should suffice.

@jhpratt jhpratt closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
@jhpratt jhpratt added the C-duplicate Category: exact duplicate label Jun 6, 2024
@hamirmahal
Copy link

If encountering this issue in CI on a GitHub Action runner, is the appropriate form of action to open an issue in https://github.com/actions/runner-images/?

@time-rs time-rs locked and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-duplicate Category: exact duplicate
Projects
None yet
Development

No branches or pull requests

3 participants