Skip to content

Error with rust-nightly: type annotations needed for Box<_> #681

Closed as not planned
@dessalines

Description

@dessalines

Error:

/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
let items = format_items
consider giving `items` an explicit type, where the placeholders `_` are specified
let items: Box<_> = format_items

I'll have a PR shortly, hopefully clippy's suggestion will fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-invalidCategory: no issue exists or the issue cannot be reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions