Skip to content

Rust: attribute fully qualified crate:: calls without use statements #26

Description

@itaywol

lang-rust resolves use/mod imports, but a call written as crate::math::add() with no use statement only produces an Unknown ref. The scoped_identifier path text carries the full module path; resolve it against the crate root like use-paths are resolved (crates/lang-rust/src/lib.rs, resolve_use_path machinery is reusable). Surfaced while fixing #20.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersprecisionTightens selection without breaking soundness

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions