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.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
regression-untriaged
Untriaged performance or correctness regression.
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: