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

Make rust-mode derive from prog-mode if available #7947

Closed
wants to merge 3 commits into from
Closed

Make rust-mode derive from prog-mode if available #7947

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 21, 2013

This let rust-mode be classified as a programming mode, which is only relevant to Emacs 24.x. This way, for example, prog-mode-hooks can be run when entering rust-mode.

@ghost
Copy link
Author

ghost commented Jul 21, 2013

Made a mess. canceling.

@ghost ghost closed this Jul 21, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 23, 2021
Lint for bool to integer casts in `cast_lossless`

The lint description says

> Checks for casts between *numerical* types that may be replaced by safe conversion functions.

Which is strictly speaking being violated here, but it seems within the spirit of the lint. I think it is still a useful lint to have, and having a different lint for just this feels excessive. Thoughts?

Fixes rust-lang#7947

changelog: Lint for bool to integer casts in [`cast_lossless`]
This pull request was closed.
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.

0 participants