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

Skip default methods whose predicates are not satisfied when constructing vtables #23438

Conversation

nikomatsakis
Copy link
Contributor

Fixes #23435

@rust-highfive
Copy link
Collaborator

r? @pcwalton

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

@nikomatsakis
Copy link
Contributor Author

r? @nrc

@rust-highfive rust-highfive assigned nrc and unassigned pcwalton Mar 17, 2015
}

/// Finishes processes any obligations that remain in the fulfillment
/// context, and then "freshens" and returns `result`. This is
Copy link
Member

Choose a reason for hiding this comment

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

could you explain "freshens" in this comment please?

Copy link
Member

Choose a reason for hiding this comment

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

Nevermind, I see it is explained further down

@nrc
Copy link
Member

nrc commented Mar 17, 2015

@bors: r+ bd2096c

(although I would be happier with a DRYer approach if it were possible)

@sfackler
Copy link
Member

@bors r=nrc bd2096c

@bors
Copy link
Contributor

bors commented Mar 18, 2015

⌛ Testing commit bd2096c with merge 1ae32de...

bors added a commit that referenced this pull request Mar 18, 2015
@bors bors merged commit bd2096c into rust-lang:master Mar 18, 2015
@nikomatsakis nikomatsakis deleted the issue-23435-default-methods-with-where-clauses branch March 30, 2016 16:14
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.

ICE when default method relies on where clauses that object type does not satisfy
6 participants