Skip to content

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

@LukeMathWalker

Description

@LukeMathWalker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions