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

Rust analyzer no longer shows Run Test | Debug buttons #29

Open
t-moe opened this issue Apr 4, 2024 · 0 comments
Open

Rust analyzer no longer shows Run Test | Debug buttons #29

t-moe opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@t-moe
Copy link
Contributor

t-moe commented Apr 4, 2024

This is related to rust-lang/rust-analyzer#17011 and can probably be fixed by emitting #[::core::prelude::v1::test] from my macros.

tokio test does this as well: https://github.com/tokio-rs/tokio/blob/a1acfd8c20475e8a878b012ac4aa90b361f004ae/tokio-macros/src/entry.rs#L365 )

Lets just hope that #[::core::prelude::v1::test] stays a no-op, when harness=false for that particular test.

@t-moe t-moe changed the title Rust analyzer does no longer show Run Test | Debug buttons Rust analyzer does no longer shows Run Test | Debug buttons Apr 4, 2024
@t-moe t-moe added the bug Something isn't working label Apr 4, 2024
@t-moe t-moe changed the title Rust analyzer does no longer shows Run Test | Debug buttons Rust analyzer no longer shows Run Test | Debug buttons Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant