Skip to content

Move uses of enum to bitflags!.#17250

Merged
bors merged 1 commit into
rust-lang:masterfrom
ahmedcharles:bitflags
Sep 20, 2014
Merged

Move uses of enum to bitflags!.#17250
bors merged 1 commit into
rust-lang:masterfrom
ahmedcharles:bitflags

Conversation

@ahmedcharles

Copy link
Copy Markdown
Contributor

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

Comment thread src/librustc_llvm/lib.rs Outdated

Copy link
Copy Markdown
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
Copy Markdown
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