-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Remove old operator overloading #4205
Comments
#3143 is closed, but this issue is still open? |
@sanxiyn I can't explain why I closed that one, nor am I sure of the state of old-style operator overloading. Last I knew it still worked but recent changes may have removed it in passing. Old overloading worked by the name of the method alone, so |
Is this done? |
@bstrie Not yet. |
Fixed |
Add lint for confusing use of `^` instead of `.pow` fixes rust-lang#4205 Adds a lint named [`confusing_xor_and_pow`], it warns the user when `a ^ b` is used as the `.pow()` function, it doesn't warn for Hex, Binary... etc. --- changelog: New lint: [`confusing_xor_and_pow`]
make sure we install the toolchain for the intended host target
make sure we install the toolchain for the intended host target
Old-style, non-trait-based, operator overloading is still in the language.
The text was updated successfully, but these errors were encountered: