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

Enable cast_lossless by default #9803

Closed
wants to merge 1 commit into from
Closed

Enable cast_lossless by default #9803

wants to merge 1 commit into from

Conversation

SUPERCILEX
Copy link

@SUPERCILEX SUPERCILEX commented Nov 5, 2022

Under the assumption that the as keyword is a mistake, we should be encouraging users to move away from it where possible.

Closes #4864

changelog: [cast_lossless]: warn by default

Under the assumption that the `as` keyword is a mistake, we should be encouraging users to move away from it where possible.
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Alexendoo (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 5, 2022
@Alexendoo
Copy link
Member

Personally I agree with the original reason it was moved there - #4528

You could open a thread on Zulip though if you'd like a wider discussion about it

@SUPERCILEX
Copy link
Author

The Zulip thread pointed out the current inconsistency of when you can use From as being pretty annoying, so closing for now.

@SUPERCILEX SUPERCILEX closed this Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable cast_lossless lint by default
3 participants