Skip to content

Add Polonius-like location-sensitive loan analysis #93

Description

@itsfuad

Track loans through CFG locations and origin relationships so borrow validity is not limited to lexical approximation.

Scope:

  • Make loan liveness location-sensitive.
  • Track origin relationships through CFG facts.
  • Preserve existing ownership, move, cleanup, and match-temporary boundaries.
  • Use Rust Polonius concepts as design input without copying Rust surface semantics.

Non-scope:

  • Do not use this issue for enum match ownership/drop convergence.
  • Do not fold storage ownership, moves, or cleanup planning into loan analysis.
  • Do not remove the need for explicit per-path cleanup evidence.

Related:

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

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions