Skip to content

Move uses of enum to bitflags!. #17250

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

Merged
merged 1 commit into from
Sep 20, 2014
Merged

Move uses of enum to bitflags!. #17250

merged 1 commit into from
Sep 20, 2014

Conversation

ahmedcharles
Copy link
Contributor

There are still others, but this is the first batch.

static X86StdcallCallConv = 64,
static X86FastcallCallConv = 65,
static X86_64_Win64 = 79,
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of these don't seem to actually be bit flags per se, but rather just values in an enumeration. For example I don't think that this enumeration is actually a set of bitflags.

There are still others, but this is the first batch.
@ahmedcharles
Copy link
Contributor Author

New patch. The only intended use of bitflags! is for Attributes.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 19, 2014
@bors bors merged commit 0f6cbca into rust-lang:master Sep 20, 2014
@ahmedcharles ahmedcharles deleted the bitflags branch September 23, 2014 20:15
lnicola pushed a commit to lnicola/rust that referenced this pull request May 19, 2024
Correct Neovim 0.10 inlay hints config example

This change is what I had to do to make inlay hints work on Neovim 0.10.  The current example produces errors about wrong argument type to `.enable()`.
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.

3 participants