Skip to content
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

Rustdoc should show Unstable notices next to re-exported items #83832

Closed
RDambrosio016 opened this issue Apr 4, 2021 · 3 comments · Fixed by #83900
Closed

Rustdoc should show Unstable notices next to re-exported items #83832

RDambrosio016 opened this issue Apr 4, 2021 · 3 comments · Fixed by #83900
Assignees
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@RDambrosio016
Copy link
Contributor

RDambrosio016 commented Apr 4, 2021

See https://doc.rust-lang.org/std/prelude/v1/index.html
asm is unstable, however there is no unstable tag showing that, it would be nice if it would, just so it can be seen at a glance without going to their respective pages.

cc @jyn514

@jonas-schievink jonas-schievink added C-feature-request Category: A feature request, i.e: not implemented / a PR. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Apr 4, 2021
@jyn514
Copy link
Member

jyn514 commented Apr 4, 2021

Note that rustdoc already does something similar for doc(cfg): image
It could use a similar format for re-exports.

@RDambrosio016
Copy link
Contributor Author

Really could just copy the existing Experimental tags (see https://doc.rust-lang.org/std/index.html -> asm) and put em after the path.

@torhovland
Copy link
Contributor

@rustbot claim

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Apr 18, 2021
…illaumeGomez

Add stability tags to ImportItem.

Fixes rust-lang#83832.
@bors bors closed this as completed in a70fbf6 Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. 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.

4 participants