Skip to content

mod statement in file included multiple times #3747

@Diggsey

Description

@Diggsey

I very much appreciate that this is a niche case, but thought I'd report it anyway 😛

I have a project which includes a file common/convert.rs from two different modules. This file declares a submodule "error" common/error.rs.

Rust-analyzer reports a spurious error at a seemingly unrelated line in one of the modules that includes common/convert.rs:

image

Unfortunately, the project is extremely large and is not public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions