Skip to content

dead_code doesn't show unused struct as unused #39558

Closed
@KalitaAlexey

Description

@KalitaAlexey

Hi everybody.

I am sorry I tried to minify the example, but I can't find a pattern.
There is a PR: rust-lang/rls#168
There is an commit: "Replaced uses of unwrap with expect.".
In the commit in the src/actions/build.mod file there are two structs: CompilerMessageCode, CompilerMessage which are unused.
The compiler doesn't show any warning.

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