-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Incorrect resolution with module paths and closure analysis #29522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is certainly creepy, nominating. Also I marked it as |
(This happens in 1.4 stable, 1.5 beta, and the 2015-10-31 nightly) |
@nikomatsakis Note that the particular error here may be misleading. The original report was getting an error about |
@aturon yes, I saw that, though it seems likely related |
Figured this out. Apparently resolve registers |
The following code incorrectly fails to compile:
with error:
However, if you change the name
scope
in the closure withinmain
, it works fine:The text was updated successfully, but these errors were encountered: