Regression in type inference between stable 1.79.0 and nightly-2024-06-19 #126685
Labels
A-inference
Area: Type inference
C-bug
Category: This is a bug.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
T-release
Relevant to the release subteam, which will review and decide on the PR/issue.
Code
I tried this code in nightly:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=be71e0fb8185c11ac3123de70b02cee6
I expected to see this happen: it compiles successfully
Instead, this happened:
Version it worked on
It most recently worked on: Rust 1.79.0
Version with regression
nightly-2024-06-19
The text was updated successfully, but these errors were encountered: