You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run cargo doc --open and search for "hello". It doesn't find anything of that name, and if you go to the Flags page it indeed has no documented constants.
If you change Cargo.toml to use bitflags = "1" and re-run cargo doc, the constant is there as expected:
The text was updated successfully, but these errors were encountered:
This issue is fixed upstream, but won't make it to a stable release until April 20th so it might be worth us mitigating it here anyways. It should be fairly straightforward. We can split the impl block that defines those constants from the one that implements other methods and move the constants to outside the const _: () { .. } block.
Steps to reproduce:
Replace
src/lib.rs
with:Run
cargo doc --open
and search for "hello". It doesn't find anything of that name, and if you go to theFlags
page it indeed has no documented constants.If you change
Cargo.toml
to usebitflags = "1"
and re-runcargo doc
, the constant is there as expected:The text was updated successfully, but these errors were encountered: