codemov icon indicating copy to clipboard operation
codemov copied to clipboard

fix build with rust 1.80

Open ghpzin opened this issue 1 year ago • 0 comments

  • 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: https://github.com/rust-lang/rust/issues/127343

ghpzin avatar Aug 26 '24 07:08 ghpzin