Skip to content

Conversation

@aibaars
Copy link
Contributor

@aibaars aibaars commented Mar 14, 2025

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2025 07:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • rust/ql/lib/codeql/rust/dataflow/internal/SsaImpl.qll: Language not supported

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Mar 14, 2025
@paldepind
Copy link
Contributor

This makes sense.

Note that I think isMutable currently doesn't work for variables for self parameters. I think it should be changed to:

    predicate isMutable() { this.getPat().isMut() or this.getSelfParam().isMut() }

(just a heads up, could be done in follow up work)

Copy link
Contributor

@paldepind paldepind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🎉 Thanks for fixing this.

@aibaars aibaars merged commit f53de13 into main Mar 18, 2025
15 checks passed
@aibaars aibaars deleted the aibaars/mut-borrow branch March 18, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants