-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Coercion creates false region inference error #37655
Comments
Explanation of error is here: #36340 (comment) |
nikomatsakis
added a commit
to nikomatsakis/rust
that referenced
this issue
Nov 8, 2016
eddyb
added a commit
to eddyb/rust
that referenced
this issue
Nov 11, 2016
…eddyb introduce a `fudge_regions_if_ok` to address false region edges Fixes rust-lang#37655. r? @eddyb cc @sfackler
eddyb
added a commit
to eddyb/rust
that referenced
this issue
Nov 12, 2016
…eddyb introduce a `fudge_regions_if_ok` to address false region edges Fixes rust-lang#37655. r? @eddyb cc @sfackler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This test case, derived from @sfackler's PR #36340, fails to compile incorrectly:
I get the error:
This is because coercion is going wrong, basically. Note that small changes (such as
&**split.get_me(0)
) work fine.The text was updated successfully, but these errors were encountered: