• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 15999970202

01 Jul 2025 12:56PM UTC coverage: 87.736% (+0.05%) from 87.69%
15999970202

push

github

web-flow
Fix future clippy issues (#14461)

* Fix future clippy issues

This commit fixes some issues the clippy on nightly has identified as
issues in the code. These will all become CI failures at some future
date (after we raise the MSRV to match the current rules nightly is
adding). However, most of the changes are good improvements and in this
case most are code style issues that make things a bit more concise. The
bulk of the changes here are just moving to use captured identifiers in
format strings.

* Update new qasm3 code too

* Fix new issues introduced in new commits

* Remove unneeded return statements

* Make lifetime syntaxes consistent

A new nightly rule was added to ensure that lifetime syntaxes are
matched in function signatures. In many cases we were excluding the
elided anonymous lifetime parameter being returned in the source which
clippy asserts is potentially confusing. This commit adds the explicit
anonymous paramter to these places to fix the warning.

* Fix rust tests too

129 of 244 new or added lines in 46 files covered. (52.87%)

4 existing lines in 2 files now uncovered.

80982 of 92302 relevant lines covered (87.74%)

506230.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.45
/crates/circuit/src/classical/expr/expr.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc