[1.38] Regression: expected module, found unresolved item crate::mod
#63891
Labels
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.
#63628 (comment)
This is the most hilarious case so far.
Apparently due to some recovery going wrong paths like
{crate,self,super}::r#keyword
silently resolve toRes::Err
without reporting any error (I've made an issue for this - #63882).Code in
xrl-0.0.7
looked like thisand it broke when visibility resolution switched to a different algorithm ("early resolution") in #63400, which doesn't have this bug.
I'd expect this issue to be discoverable by some kind of fuzzing, but I'd never expect it to be encountered by real code!
So, the regression is a bugfix and this bug needs to be fixed in other contexts as well, #63882 is the tracking issue for that.
The text was updated successfully, but these errors were encountered: