Skip to content

Fix: rust source inside Submodules are not parsed #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PierreEtienneJ opened this issue Mar 1, 2025 · 0 comments Β· May be fixed by #23
Open

Fix: rust source inside Submodules are not parsed #21

PierreEtienneJ opened this issue Mar 1, 2025 · 0 comments Β· May be fixed by #23

Comments

@PierreEtienneJ
Copy link

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.

@PierreEtienneJ PierreEtienneJ linked a pull request Mar 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant