Skip to content

The highlight of the link in docs seems mislocated #12912

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
pan93412 opened this issue Jul 30, 2022 · 3 comments · Fixed by #12913
Closed

The highlight of the link in docs seems mislocated #12912

pan93412 opened this issue Jul 30, 2022 · 3 comments · Fixed by #12913
Assignees
Labels
A-ide general IDE features C-bug Category: bug

Comments

@pan93412
Copy link

rust-analyzer version: 0.4.1145-standalone (fb5e49631 2022-07-29)

rustc version: rustc 1.63.0-beta.7 (12c5b1ef3 2022-07-22)

relevant settings:

rust-toolchain.toml

[toolchain]
channel = "beta"
components = ["rust-src"]
profile = "default"

telegram-cloud-photo-size-5-6280678913898295968-y

The highlight of the inline link of docs seems mislocated.

@Veykril
Copy link
Member

Veykril commented Jul 30, 2022

Does this fix itself if you type something in that file? What does the mod bbo; item look like, does it have doc comments as well?

Edit: Looks like highlight injection is broken again with doc comments on mod items ye

@Veykril Veykril added C-bug Category: bug A-ide general IDE features labels Jul 30, 2022
@Veykril Veykril self-assigned this Jul 30, 2022
@pan93412
Copy link
Author

  1. It looks like that: image

  2. It may become worse when add new items. image

@Veykril
Copy link
Member

Veykril commented Jul 30, 2022

Ye this was broken by #12840 it seems

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-ide general IDE features C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants