Skip to content

std::f32::consts shouldn't be blank #18156

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

Closed
mdinger opened this issue Oct 19, 2014 · 3 comments · Fixed by #19793
Closed

std::f32::consts shouldn't be blank #18156

mdinger opened this issue Oct 19, 2014 · 3 comments · Fixed by #19793
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@mdinger
Copy link
Contributor

mdinger commented Oct 19, 2014

std::f32::consts and std::f64::consts are blank and probably shouldn't be. i8-64 and u8-64 don't have consts sections.

This is probably temporary and related to constants being shuffled but I couldn't find the issue regarding it.

@sfackler
Copy link
Member

I think they're showing up blank because rustdoc doesn't render consts.

@sfackler sfackler added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Oct 19, 2014
@mdinger
Copy link
Contributor Author

mdinger commented Oct 19, 2014

I expected to find constants like pi and e there but I'm not sure which ones should actually be there.

@sfackler
Copy link
Member

They're all there, but they're consts so rustdoc isn't outputting them: http://doc.rust-lang.org/src/core/home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libcore/num/f32.rs.html#48-105

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
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
tomjakubowski added a commit to tomjakubowski/rust that referenced this issue Dec 13, 2014
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
brson added a commit to brson/rust that referenced this issue Dec 15, 2014
Fix rust-lang#19773

Together with rust-lang#19774 (which this is rebased on):

Fix rust-lang#18156, fix rust-lang#19722, fix rust-lang#19185

r? @alexcrichton (since this was your suggestion!)
lnicola pushed a commit to lnicola/rust that referenced this issue Sep 25, 2024
…ykril

fix: Consider lifetime GATs object unsafe

Fixes rust-lang#18156.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants