Skip to content

[WIP] fix for nightly-2017-10-18 #2155

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

Closed
wants to merge 1 commit into from

Conversation

durka
Copy link
Contributor

@durka durka commented Oct 19, 2017

No description provided.

.cloned()
.unwrap_or(true);
if promotable {
if cx.tcx.const_is_rvalue_promotable_to_static(cx.tcx.hir.local_def_id(arg.id)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This compiles but can't be right because it causes the corresponding test to fail with an ICE.

@Manishearth
Copy link
Member

#2153 already exists?

@durka
Copy link
Contributor Author

durka commented Oct 19, 2017

Whoops I missed that!

@durka durka closed this Oct 19, 2017
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.

2 participants