google / google/googletest-rust

RustRover misbehaves when analyzing code inside a function annotated with #[googletest::test]

Open
#343 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
432
Forks
36
Avg merge
7d 17h
Merged PRs (30d)
2

Description

I doubt this is actionable on your side (`#[googletest::test]` expands to something that looks very reasonable), but I thought you might want to be aware of it.

I've opened an issue upstream with the RustRover team, which you can track: https://youtrack.jetbrains.com/issue/RUST-13162/False-positive-Unused-import-even-though-theyre-used-in-googletesttest-case

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.