Skip to content

fix build with rust 1.80 - #16

Open
ghpzin wants to merge 1 commit into
sloganking:masterfrom
ghpzin:fix-rust-1.80-build
Open

ghpzin wants to merge 1 commit into
sloganking:masterfrom
ghpzin:fix-rust-1.80-build

Conversation

@ghpzin

@ghpzin ghpzin commented Aug 26, 2024

Copy link
Copy Markdown
  • update Cargo.lock with 'cargo update time'

Fixes build error with rust 1.80:

error[E0282]: type annotations needed for `Box<_>`
  --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.25/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
   |              ++++++++

Upstream rust issue:
rust-lang/rust#127343

- update Cargo.lock with 'cargo update time'
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.

1 participant