Aloxaf / silicon

Create beautiful image of your source code.
MIT License
3.13k stars 84 forks source link

chore: update to build with rust 1.80 #253

Closed chenrui333 closed 1 month ago

chenrui333 commented 3 months ago

seeing some time related failure

error[E0282]: type annotations needed for `Box<_>`
  --> /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.30/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
   |              ++++++++

has been addressed with 0.3.36, https://github.com/time-rs/time/issues/693

Aloxaf commented 1 month ago

close by #254