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

error: could not compile time (lib) due to 1 previous error #1

Closed
openersoft opened this issue Jun 6, 2024 · 2 comments
Closed

error: could not compile time (lib) due to 1 previous error #1

openersoft opened this issue Jun 6, 2024 · 2 comments

Comments

@openersoft
Copy link

cargo leptos --version
cargo-leptos 0.2.17

@openersoft
Copy link
Author

Compiling time v0.3.34
Compiling iri-string v0.7.0
Compiling app v0.1.0 (//leptail/demo/app)
error[E0282]: type annotations needed for Box<_>
--> /
/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
| ++++++++

@chaos-pattern
Copy link
Contributor

chaos-pattern commented Jun 14, 2024

Thanks for trying out the lib. It's in very early stage of development and I am not actively developing. However, that was a issue with the dependency. Can you run the following command on demo directory?

cargo update -p time

source:
rust-lang/rust#125319
https://users.rust-lang.org/t/time-crate-compilation-error/111789/2

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

No branches or pull requests

2 participants