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
I tried running cargo doc on this binary crate:
cargo doc
const A: u8 = {const B: u8 = 0; B}; fn main() {}
I expected to see this happen: only the A constant and main functions are documented
A
main
Instead, this happened: All of A, B, and main are documented:
B
rustc --version --verbose:
rustc --version --verbose
rustc 1.69.0 (84c898d65 2023-04-16) binary: rustc commit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc commit-date: 2023-04-16 host: x86_64-unknown-linux-gnu release: 1.69.0 LLVM version: 15.0.7
The text was updated successfully, but these errors were encountered:
Added a workaround for rustdoc bug
973edf1
The bug being rust-lang/rust#112085
B won't documented by 1.72.0-nightly. I don't known which commit cause this.
1.72.0-nightly
Sorry, something went wrong.
Update Rust crate const_format to 0.2.31 (#24)
0ec216e
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [const_format](https://togithub.com/rodrimati1992/const_format_crates) | dependencies | patch | `0.2.30` -> `0.2.31` | --- ### Release Notes <details> <summary>rodrimati1992/const_format_crates (const_format)</summary> ### [`v0.2.31`](https://togithub.com/rodrimati1992/const_format_crates/blob/HEAD/Changelog.md#0231) Added a workaround for rustdoc bug ([https://github.com/rust-lang/rust/issues/112085](https://togithub.com/rust-lang/rust/issues/112085)). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sammyfilly/Nextjs).
No branches or pull requests
I tried running
cargo doc
on this binary crate:I expected to see this happen: only the
A
constant andmain
functions are documentedInstead, this happened: All of
A
,B
, andmain
are documented:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: