We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the tests, this code needed to use collections::enum_set::EnumSet:
collections::enum_set::EnumSet
#[repr(uint)] enum Foo { A, B, C } impl CLike for Foo { fn to_uint(&self) -> uint { *self as uint } fn from_uint(v: uint) -> Foo { unsafe { cast::transmute(v) } } }
If it is indeed needed, that should be documented.
Also, it would be nice to not have to duplicate this impl for every enum type that one wants to use with EnumSet.
EnumSet
The text was updated successfully, but these errors were encountered:
EnumSet is not in std lib anymore.
Sorry, something went wrong.
Fix lifetimes elision suggestion in where clauses (rust-lang#13752)
74dd50c
Fix rust-lang#13749 changelog: [`needless_lifetimes`]: do not suggest using `'_` in `where` clauses
Correct report_elidable_impl_lifetimes comment following rust-lang#…
report_elidable_impl_lifetimes
4a342df
…13752
646d72a
…13752 (rust-lang#13771) Tiny change to make `report_elidable_impl_lifetimes`'s doc comment consistent with rust-lang#13752. (cc: @samueltardieu) --- changelog: none
No branches or pull requests
According to the tests, this code needed to use
collections::enum_set::EnumSet
:If it is indeed needed, that should be documented.
Also, it would be nice to not have to duplicate this impl for every enum type that one wants to use with
EnumSet
.The text was updated successfully, but these errors were encountered: