Skip to content

Fix trans of index overload expressions with DST result types #18505

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

Merged
merged 3 commits into from
Nov 3, 2014

Conversation

bkoropoff
Copy link
Contributor

This brings the code in line with the overloaded deref handling. Closes #18487.

r? @nick29581

@nrc
Copy link
Member

nrc commented Nov 1, 2014

Looks good, thanks for the fix! r=me with the extra test

@bkoropoff
Copy link
Contributor Author

Test added

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 3, 2014
@bors bors merged commit 205f84f into rust-lang:master Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use &str with the Index trait (LLVM assertion failure: "Invoking a function with bad signature")
3 participants