Skip to content

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

Closed
@Wyvern

Description

@Wyvern

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~

Metadata

Metadata

Assignees

Labels

A-idegeneral IDE featuresC-bugCategory: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions