Skip to content

New lint missing_mut_constraint#11

Merged
meumar-osec merged 7 commits intomainfrom
feat/missing_mut_constraint
Mar 9, 2026
Merged

New lint missing_mut_constraint#11
meumar-osec merged 7 commits intomainfrom
feat/missing_mut_constraint

Conversation

@meumar-osec
Copy link
Copy Markdown
Collaborator

@meumar-osec meumar-osec commented Mar 5, 2026

  • Updated test programs to use workspace deps for anchor
  • Implemented new lint missing_mut_constraint

@meumar-osec meumar-osec requested a review from jamie-osec March 5, 2026 04:52
Comment thread lints/missing_mut_constraint/tests/test_program/Cargo.toml Outdated
Comment thread lints/missing_mut_constraint/Cargo.toml Outdated
meumar-osec and others added 2 commits March 6, 2026 09:45
Co-authored-by: Jamie Hill-Daniel <134328753+jamie-osec@users.noreply.github.com>
Comment thread lints/missing_mut_constraint/src/lib.rs Outdated
Copy link
Copy Markdown
Collaborator

@jamie-osec jamie-osec left a comment

Choose a reason for hiding this comment

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

LGTM with the utility function moved to the shared helper

@meumar-osec meumar-osec merged commit 6349a34 into main Mar 9, 2026
1 check passed
@meumar-osec meumar-osec deleted the feat/missing_mut_constraint branch March 9, 2026 00:48
meumar-osec added a commit that referenced this pull request Mar 11, 2026
* feat: new lint missing_mut_constraint

* chore: cargo fmt

* tests: Use workspace deps for anchor in test programs

* Update lints/missing_mut_constraint/Cargo.toml

Co-authored-by: Jamie Hill-Daniel <134328753+jamie-osec@users.noreply.github.com>

* refactor: move account_name_from_place_or_rvalue into MirAnalyzer

* chore: Use `cargo-install` action to install package (#14)

* chore: cargo fmt

---------

Co-authored-by: Jamie Hill-Daniel <134328753+jamie-osec@users.noreply.github.com>
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 this pull request may close these issues.

2 participants