Skip to content

#[test] function name with r#keyword be auto filtered out by rust-analyzer. #12787

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
Wyvern opened this issue Jul 17, 2022 · 1 comment · Fixed by #12993
Closed

#[test] function name with r#keyword be auto filtered out by rust-analyzer. #12787

Wyvern opened this issue Jul 17, 2022 · 1 comment · Fixed by #12993
Assignees
Labels
A-ide general IDE features C-bug Category: bug

Comments

@Wyvern
Copy link

Wyvern commented Jul 17, 2022

The issue originally report at here rust-lang/rust#99361 (comment), now better for RA team to further investigate.

  #[test]
  fn r#mod(){
        //...
    }

RA auto filtered out this test case.

running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s

Hope to fix it~

@flodiebold flodiebold added C-bug Category: bug A-ide general IDE features labels Jul 17, 2022
@lowr
Copy link
Contributor

lowr commented Jul 28, 2022

@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 C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants