Skip to content

Cannot overload <= #2435

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
eholk opened this issue May 24, 2012 · 2 comments
Closed

Cannot overload <= #2435

eholk opened this issue May 24, 2012 · 2 comments

Comments

@eholk
Copy link
Contributor

eholk commented May 24, 2012

Attempting to overload <= fails in the parser:

error: expecting ident, found <=
@marijnh
Copy link
Contributor

marijnh commented May 24, 2012

Currently, the comparison operators can not be overloaded. See also #2007

@nikomatsakis
Copy link
Contributor

I think this issue is effectively a dup of #2007, closing.

bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
tshepang added a commit to tshepang/rust that referenced this issue Jun 2, 2025
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

No branches or pull requests

3 participants