mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 14:07:10 +00:00
``` 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 | = note: this is an inference error on crate `time` caused by a change in Rust 1.80.0; update `time` to version `>=0.3.35` ``` Partially address #127343.
12 lines
509 B
Plaintext
12 lines
509 B
Plaintext
error[E0282]: type annotations needed for `Box<Vec<_>>`
|
|
--> $DIR/detect-old-time-version-format_description-parse.rs:4:9
|
|
|
|
|
LL | let items = Box::new(vec![]);
|
|
| ^^^^^ ---------------- type must be known at this point
|
|
|
|
|
= note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|