Skip to content

wrong documentation is shows for println macro #13974

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
santhosh-tekuri opened this issue Jan 17, 2023 · 1 comment · Fixed by #14781
Closed

wrong documentation is shows for println macro #13974

santhosh-tekuri opened this issue Jan 17, 2023 · 1 comment · Fixed by #14781
Assignees
Labels
A-ide general IDE features A-macro macro expansion A-nameres name, path and module resolution C-bug Category: bug

Comments

@santhosh-tekuri
Copy link

santhosh-tekuri commented Jan 17, 2023

I am using rust-analyzer with vscode.

use async_std::println;

fn main() {
    println!("Hello, world!");
}

actual behavior:
when I hover mouse over println in main function, the documentation tooltip show doc for println from std::macros

expected behaviour:
it should show doc for println from async_std

@Veykril Veykril added A-macro macro expansion A-nameres name, path and module resolution C-bug Category: bug A-ide general IDE features labels Jan 19, 2023
@Kohei316
Copy link
Contributor

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ide general IDE features A-macro macro expansion A-nameres name, path and module resolution C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants