Skip to content

Rust 1.80 support #1353

Closed
Closed
@flokli

Description

@flokli

Nixpkgs is updating to Rust 1.80, and we noticed josh stops building with Rust 1.80.

As described in the issue, there's an unfixable build regression in rustc rust-lang/rust#127343, usually requiring bumping a bump of the time crate:

error[E0282]: type annotations needed for `Box<_>`
  --> /build/josh-23.12.04-vendor.tar.gz/time/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
   |              ++++++++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions