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

compiling error #145

Closed
jianshu93 opened this issue Jul 25, 2024 · 1 comment
Closed

compiling error #145

jianshu93 opened this issue Jul 25, 2024 · 1 comment

Comments

@jianshu93
Copy link

Hello Sage team,

It seems I can't compile using rust stable 1.79 or 1.80:

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

The binary did work though.

Thanks,

Jianshu

@lazear
Copy link
Owner

lazear commented Jul 25, 2024

Thanks for the report - looks like an issue in a sub dependency, I'll see if I can bump some versions to get it to compile with the newest version of Rust

@lazear lazear closed this as completed Jul 25, 2024
sander-willems-bruker pushed a commit to sander-willems-bruker/sage that referenced this issue Sep 4, 2024
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