A "cannot infer type" compilation error appeared from 1.87.0-nightly (249cb84 2025-03-12) #138937
Labels
C-bug
Category: This is a bug.
regression-untriaged
Untriaged performance or correctness regression.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
A "cannot infer type" compilation error appeared in nightly-2025-03-13, 1.87.0-nightly (249cb84 2025-03-12) and subsequent versions
Code
I tried this code:
I expected to see this happen: compiling successfully
Instead, this happened:
Version it worked on
It most recently worked on: nightly-2025-03-12 1.87.0-nightly (6650252 2025-03-11)
Version with regression
rustc +nightly-2025-03-13 --version --verbose
:The text was updated successfully, but these errors were encountered: