-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustdoc doesn't display values for inlined constants #15821
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
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
tomjakubowski
added a commit
to tomjakubowski/rust
that referenced
this issue
Dec 12, 2014
Build `clean::ConstantItem` values in the `inline` module and pretty-print the AST for inlined const items. Doc strings are still missing from inlined constants (see rust-lang#19773). Partially address rust-lang#18156, rust-lang#19722, rust-lang#19185 Fix rust-lang#15821
Updated to reflect the static -> const split. |
brson
added a commit
to brson/rust
that referenced
this issue
Dec 12, 2014
Build `clean::ConstantItem` values in the `inline` module and pretty-print the AST for inlined const items. Doc strings are still missing from inlined constants (see rust-lang#19773). Partially address rust-lang#18156, rust-lang#19722, rust-lang#19185 Fix rust-lang#15821 r? @alexcrichton
brson
added a commit
to brson/rust
that referenced
this issue
Dec 13, 2014
Build `clean::ConstantItem` values in the `inline` module and pretty-print the AST for inlined const items. Doc strings are still missing from inlined constants (see rust-lang#19773). Partially address rust-lang#18156, rust-lang#19722, rust-lang#19185 Fix rust-lang#15821 r? @alexcrichton
brson
added a commit
to brson/rust
that referenced
this issue
Dec 15, 2014
Build `clean::ConstantItem` values in the `inline` module and pretty-print the AST for inlined const items. Doc strings are still missing from inlined constants (see rust-lang#19773). Partially address rust-lang#18156, rust-lang#19722, rust-lang#19185 Fix rust-lang#15821 r? @alexcrichton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, given
foo.rs
:And
bar.rs
:The generated rustdocs for
bar.rs
show something like:Constants
pub const MAGIC: u32 =
The text was updated successfully, but these errors were encountered: