Skip to content
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

Apply adjustments to the retslot type in trans_ret #22366

Merged
merged 1 commit into from
Feb 17, 2015

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Feb 15, 2015

Without the adjustments the retslot might have the wrong type, e.g. when
the return value is implicitly coerced to a trait object.

Fixes #22346

Without the adjustments the retslot might have the wrong type, e.g. when
the return value is implicitly coerced to a trait object.

Fixes rust-lang#22346
@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 109e118 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 17, 2015
Without the adjustments the retslot might have the wrong type, e.g. when
the return value is implicitly coerced to a trait object.

Fixes rust-lang#22346
@bors bors merged commit 109e118 into rust-lang:master Feb 17, 2015
@dotdash dotdash deleted the ret_adjust branch March 1, 2015 19:21
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.

LLVM Assertion Failure “Ptr must be a pointer to Val type!”
5 participants