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

Implement static trait methods #3132

Closed
msullivan opened this issue Aug 7, 2012 · 0 comments
Closed

Implement static trait methods #3132

msullivan opened this issue Aug 7, 2012 · 0 comments
Labels
A-codegen Area: Code generation A-grammar Area: The grammar of Rust A-type-system Area: Type system

Comments

@msullivan
Copy link
Contributor

We should support "static" trait methods that don't require an object to be called on. This is how all typeclass functions behave in languages like haskell, and this enables a lot of useful things, mostly when constructing new objects.

@ghost ghost assigned msullivan Aug 7, 2012
@msullivan msullivan removed their assignment Jun 16, 2014
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 21, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Dependency upgrade resulting from `cargo update`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation A-grammar Area: The grammar of Rust A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

1 participant