-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Discrepancy in closure modes #3643
Comments
What version of rustc are you using? I would not expect this to be true on the most recent incoming, but earlier versions and master may still exhibit this behavior. |
In particular this commit 9284179 most likely fixes this issue. |
I originally had this issue on master. I compiled incoming (73b2a93), and had the same issue, so not sure if it is resolved. |
So more specifically, with the latest incoming, this test works for me:
|
As did this:
|
Ugh. I'm not sure what was up with my environment when I was running rustc this morning, but recompiling incoming seemed to have fixed it. The latest does fix these issues. |
Use binary-dep-depinfo to resolve UI test dependencies Closes rust-lang#7343 Closes rust-lang#6809 Closes rust-lang#3643 changelog: none r? `@flip1995` cc `@Jarcho`
`PackageId` is an opaque identifier whose internal format is subject to change, so looking up the names of local crates by ID is more robust than parsing the ID. Resolves rust-lang#3643.
…pdate, r=RalfJung Fix "local crate" detection `PackageId` is an opaque identifier whose internal format is subject to change, so looking up the names of local crates by ID is more robust than parsing the ID. Resolves rust-lang#3643.
`PackageId` is an opaque identifier whose internal format is subject to change, so looking up the names of local crates by ID is more robust than parsing the ID. Resolves rust-lang#3643.
The following code compiles and works as expected:
This code, however:
gives the following error:
If I add the mode to the
char_is_a
definition, it works. It just seems odd to have this discrepancy.The text was updated successfully, but these errors were encountered: