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
const
bitflags! { struct Flags: u32 { const A = 0b00000001; const B = 0b00000010; const C = 0b00000100; const ABC = Self::A.bits | Self::B.bits | Self::C.bits; } }
There is currently no highlighting in the above code.
I would expect A, B, C, and ABC to be marked as entities and appear in the global symbol list.
A
B
C
ABC
The text was updated successfully, but these errors were encountered:
With PR #2305 merged the struct looks like...
The constants' identifiers are scoped entity.name.constant.rust and could therefore easily be indexed.
entity.name.constant.rust
Sorry, something went wrong.
Yay! Thanks.
With #3195 constants are indexed. Thus closing this issue as resolved.
No branches or pull requests
What happened?
There is currently no highlighting in the above code.
I would expect
A
,B
,C
, andABC
to be marked as entities and appear in the global symbol list.The text was updated successfully, but these errors were encountered: