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

Tooltip omits enum name #18751

Open
yvt opened this issue Dec 24, 2024 · 0 comments · May be fixed by #18756
Open

Tooltip omits enum name #18751

yvt opened this issue Dec 24, 2024 · 0 comments · May be fixed by #18756
Labels
A-ide general IDE features C-bug Category: bug

Comments

@yvt
Copy link

yvt commented Dec 24, 2024

The tooltip for an enum variant field is missing the enum name (crate::Enum::Var -> crate::Var).

rust-analyzer version:

$ rust-analyzer --version
rust-analyzer 1.85.0-nightly (bdc6b3d 2024-12-23)

rustc version:

$ rustc -vV
rustc 1.85.0-nightly (bdc6b3de4 2024-12-23)
binary: rustc
commit-hash: bdc6b3de48646345549fd2fe9f62370f56e3fa56
commit-date: 2024-12-23
host: x86_64-unknown-linux-gnu
release: 1.85.0-nightly
LLVM version: 19.1.6

editor or extension: Helix 24.7

relevant settings:

repository link (if public, optional): (eg. rust-analyzer)

code snippet to reproduce:

enum Enum {
    Var { field: i32 },
}
@yvt yvt added the C-bug Category: bug label Dec 24, 2024
@Veykril Veykril added the A-ide general IDE features label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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