Skip to content

Fix stable clippy warnings#16052

Merged
mtreinish merged 1 commit intoQiskit:mainfrom
mtreinish:clippy-1.95
Apr 16, 2026
Merged

Fix stable clippy warnings#16052
mtreinish merged 1 commit intoQiskit:mainfrom
mtreinish:clippy-1.95

Conversation

@mtreinish
Copy link
Copy Markdown
Member

This commit fixes clippy warnings that appear when running clippy from the latest stable Rust release 1.95.0. Fixing this preemptively will avoid errors when we try to bump our MSRV in the future and also fix the error for those of use that insist on testing with the latest stable release of Rust and are seeing clippy complain about this.

AI/LLM disclosure

  • I didn't use LLM tooling, or only used it privately.
  • I used the following tool to help write this PR description:
  • I used the following tool to generate or modify code:

This commit fixes clippy warnings that appear when running clippy from
the latest stable Rust release 1.95.0. Fixing this pre-emptively will
avoid errors when we try to bump our MSRV in the future and also fix
the error for those of use that insist on testing with the latest
stable release of Rust and are seeing clippy complain about this.
@mtreinish mtreinish requested a review from a team as a code owner April 16, 2026 16:46
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: None Do not include in the GitHub Release changelog. Rust This PR or issue is related to Rust code in the repository labels Apr 16, 2026
@qiskit-bot
Copy link
Copy Markdown
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@mtreinish mtreinish added this pull request to the merge queue Apr 16, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 16, 2026
@mtreinish mtreinish added this pull request to the merge queue Apr 16, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 16, 2026
@mtreinish mtreinish added this pull request to the merge queue Apr 16, 2026
Merged via the queue into Qiskit:main with commit c2477ab Apr 16, 2026
46 of 48 checks passed
@mtreinish mtreinish deleted the clippy-1.95 branch April 16, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. Rust This PR or issue is related to Rust code in the repository type: qa Issues and PRs that relate to testing and code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants