Skip to content

Fix: rust source inside Submodules are not parsedΒ #21

Open
@PierreEtienneJ

Description

@PierreEtienneJ

Describe the bug

With a lib like

πŸ“¦ my_crate
 ┣ πŸ“œ Cargo.toml
 ┣ πŸ“‚ src
 ┃ ┣ πŸ“œ lib.rs
 ┃ ┣ πŸ“‚ my_mod
 ┃ ┃ ┣ πŸ“œ mod.rs   # βœ… Parsed correctly
 ┃ ┃ ┣ πŸ“œ sub_mod.rs     # ❌ Not parsed

Currently, the library correctly parses my_mod/mod.rs, but it does not parse files inside the my_mod directory, such as my_mod/sub_mod.rs.

how to fix

Fix the rust function analyzer::crate_::analyze_crate in the loop.

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