Skip to content

rustdoc: "Copy item path to clipboard" includes "- Rust" in the middle #140492

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
9999years opened this issue Apr 30, 2025 · 2 comments
Closed

rustdoc: "Copy item path to clipboard" includes "- Rust" in the middle #140492

9999years opened this issue Apr 30, 2025 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@9999years
Copy link
Contributor

Code

The rustdoc "Copy item path to clipboard" button does the wrong thing.

Here: https://doc.rust-lang.org/stable/std/sync/atomic/struct.AtomicU64.html

I expected to see this happen: std::sync::atomic::AtomicU64 get copied to the clipboard

Instead, this happened: std::sync::atomic - Rust::AtomicU64 was copied to the clipboard

Version it worked on

It most recently worked on: Not sure, must have been working a couple months ago?

Version with regression

rustc --version --verbose:

rustc 1.86.0 (05f9846f8 2025-03-31)
binary: rustc
commit-hash: 05f9846f893b09a1be1fc8560e33fc3c815cfecb
commit-date: 2025-03-31
host: aarch64-apple-darwin
release: 1.86.0
LLVM version: 19.1.7
@9999years 9999years added C-bug Category: This is a bug. regression-untriaged Untriaged performance or correctness regression. labels Apr 30, 2025
@rustbot rustbot added I-prioritize Issue: Indicates that prioritization has been requested for this issue. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Apr 30, 2025
@lolbinarycat
Copy link
Contributor

fixed in nightly

@lolbinarycat lolbinarycat removed I-prioritize Issue: Indicates that prioritization has been requested for this issue. regression-untriaged Untriaged performance or correctness regression. needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Apr 30, 2025
@lolbinarycat
Copy link
Contributor

lolbinarycat commented Apr 30, 2025

duplicate of #139544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants