Skip to content

Build fails in time dependency on rustc 1.80.0 and nightly #658

@mbuesch

Description

@mbuesch

Tested commit 45946f8 (currently latest)

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

   Compiling gix-packetline v0.17.5
For more information about this error, try `rustc --explain E0282`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions