Skip to content

dua 2.29.0 fails to compile with rustc 1.80.0 #253

@Biswa96

Description

@Biswa96
  • rust version
$ rustc --version
rustc 1.80.0
  • compiler error:
error[E0282]: type annotations needed for `Box<_>`
  --> /home/x/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
   |              ++++++++

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

The underlying issue has been fixed in time crate 0.3.36 version which was updated in 69a7cdd commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions