Skip to content

Use the bitflags! macro to implement FlagV1 #24697

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

Closed
wants to merge 1 commit into from

Conversation

tamird
Copy link
Contributor

@tamird tamird commented Apr 22, 2015

Closes #15738.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@tamird
Copy link
Contributor Author

tamird commented Apr 22, 2015

This is a bit naive - working on it.

@alexcrichton
Copy link
Member

Yeah unfortunately this strategy will have dependency problems with libcore (as libcore is the base of the chain), so this may not work out so well. For now, though, I'd encourage discussion for this API to happen on the internals thread started by @richo: http://internals.rust-lang.org/t/stabilising-formatter-flags/1927

For now I'm going to close this in favor of that thread (as well as the associated issue). Thanks regardless for the PR though!

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.

Formatter::flags/std::fmt::rt::Flag should be implemented using the bitflags! macro
3 participants