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

[Bug]: error[E0282] #470

Open
John-JacobJingleHeimer-Schmidt opened this issue Aug 22, 2024 · 2 comments
Open

[Bug]: error[E0282] #470

John-JacobJingleHeimer-Schmidt opened this issue Aug 22, 2024 · 2 comments
Labels
bug Something isn't working needs investigation Needs more investigation before triage

Comments

@John-JacobJingleHeimer-Schmidt
Copy link

John-JacobJingleHeimer-Schmidt commented Aug 22, 2024

Describe the bug

Compiling error in MacOS

To Reproduce

  1. run pnpm run rust:dev
    Response:
    error[E0282]: type annotations needed for Box<_>
    --> /Users/REDACTED/.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
    | ++++++++

Expected behavior

Should compile app

Screenshots

If applicable, add screenshots to help explain your problem.

Machine Information

  • OS: macOS
  • Version: 14.6

Additional context

Add any other context about the problem here.

@John-JacobJingleHeimer-Schmidt John-JacobJingleHeimer-Schmidt added bug Something isn't working needs investigation Needs more investigation before triage labels Aug 22, 2024
@jamesarich
Copy link

fwiw i was able to get past this by deleting src-tauri/Cargo.lock and trying again.

@John-JacobJingleHeimer-Schmidt
Copy link
Author

fwiw i was able to get past this by deleting src-tauri/Cargo.lock and trying again.

That did the trick, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation Needs more investigation before triage
Projects
None yet
Development

No branches or pull requests

2 participants