Skip to content

Comments

Fix build with rust 1.80#229

Merged
bkolobara merged 1 commit intolunatic-solutions:mainfrom
ghpzin:fix-build-with-rust-1.80
Mar 29, 2025
Merged

Fix build with rust 1.80#229
bkolobara merged 1 commit intolunatic-solutions:mainfrom
ghpzin:fix-build-with-rust-1.80

Conversation

@ghpzin
Copy link
Contributor

@ghpzin ghpzin commented Mar 28, 2025

  • run cargo update time, fixes error:
error[E0282]: type annotations needed for `Box<_>`
  --> /build/lunatic-0.13.2-vendor/time-0.3.20/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`

- run `cargo update time`, fixes error:
```
error[E0282]: type annotations needed for `Box<_>`
  --> /build/lunatic-0.13.2-vendor/time-0.3.20/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`
```
@bkolobara bkolobara merged commit 28a2f38 into lunatic-solutions:main Mar 29, 2025
0 of 3 checks passed
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