Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in type inferencing in 1.80.0 #128181

Closed
rylev opened this issue Jul 25, 2024 · 2 comments
Closed

Regression in type inferencing in 1.80.0 #128181

rylev opened this issue Jul 25, 2024 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@rylev
Copy link
Member

rylev commented Jul 25, 2024

The following issue can be reproduced by compiling the time crate v0.3.34 with the formatting feature enabled. Doing so works successfully when using version 1.79.0 of the compiler but breaks with version 1.80.0:

error[E0282]: type annotations needed for `Box<_>`
  --> 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
   |              ++++++++
@rylev rylev added the C-bug Category: This is a bug. label Jul 25, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 25, 2024
@Urgau
Copy link
Member

Urgau commented Jul 25, 2024

#127343 and #127343 (comment)

@oli-obk oli-obk closed this as completed Jul 25, 2024
@oli-obk oli-obk removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 25, 2024
@geraldmwangi

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

5 participants