no MIR available ICE instead of an ambiguity error #115380
Labels
A-resolve
Area: Name resolution
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
a.rs:
b.rs:
I expected it to fail with an ambiguity error, instead it ICEs.
The code compiles successfully in 1.72.
Since #113099 it generates an ICE (it seems that now when an ambiguity is detected, the processing is not fully finalized and effective visibilities and reachability is incomplete).
Reporting primarily due to the fact that the future incompatibility for ambiguous glob imports is not enabled by default for dependencies #114095 (comment), which hides the root cause of the issue.
Error output
The text was updated successfully, but these errors were encountered: