-
Notifications
You must be signed in to change notification settings - Fork 1.8k
test-log crate breaks test runnables #12396
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
Comments
It expands to a function with a |
Shouldn't be, we skip expansion of |
Fwiw I do get the test lenses in VSCode for the above snippet |
I just checked this in both emacs and vs code. I notice that I DO get the lenses in code and in emacs. The problem occurs in emacs in the |
Triage; This is still a problem |
rust-analyzer version:
rust-analyzer 5b69a34fb 2022-05-25 dev
rustc version: rustc 1.61.0 (fe5b13d68 2022-05-18)
relevant settings: Using emacs with lsp-mode.
The test-log crate (https://github.com/d-e-s-o/test-log) comes with a replacement
test
macro. You use it like this:But, with this
use test_log::test
, when I try to run the test usinglsp-rust-analyzer-run
it doesn't detect it as an option. If I remove theuse
, the test is runnable.The text was updated successfully, but these errors were encountered: