Skip to content

Make supertrait methods callable on object types #8519

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 2 commits into from

Conversation

msullivan
Copy link
Contributor

r?

This requires changes to method search and to codegen. We now emit a
vtable for objects that includes methods from all supertraits.
Closes rust-lang#4100.

Also, actually populate the cache for vtables, and also key it by type
so that it actually works.
bors added a commit that referenced this pull request Aug 20, 2013
@bors bors closed this Aug 20, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 7, 2022
Check if lhs < rhs in modulos in `identity_op`

Fixes rust-lang#8508

changelog: [`identity_op`] now checks for modulos, e.g. `1 % 3`
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